Changeset 16373 in spip-zone for _plugins_/_stable_/console/console.html


Ignore:
Timestamp:
Oct 27, 2007, 4:54:02 PM (13 years ago)
Author:
booz@…
Message:

censure de l'auto log et integration nulle dans l'admin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_stable_/console/console.html

    r16335 r16373  
    33<?php
    44
    5 if(!$auteur_session['nom']) {echo "reservé aux admins"; return ;}
     5if(!($auteur_session['statut'] == "0minirezo")) {echo "reservé aux admins"; return ;}
    66
    77function console_lit_log($logname = "#ENV{log}"){
     
    2020        while ($contenu && $maxlines--){
    2121                $hop = array_pop($contenu) ;
    22                
     22                if(preg_match(",page='console',", $hop)) continue ;
    2323                if (preg_match_all("/.{100}/UmsS", $hop, $longs, PREG_SET_ORDER)) {
    2424                foreach ($longs as $long) {
Note: See TracChangeset for help on using the changeset viewer.