Changeset 114673 in spip-zone


Ignore:
Timestamp:
Mar 31, 2019, 1:30:59 PM (8 months ago)
Author:
jluc@…
Message:

lib debug : debug_get_mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/macrosession/trunk/inc/_session.php

    r113654 r114673  
    7676        if (existe_argument_balise(3, $p)) {
    7777                $arg_un = trim_quote(interprete_argument_balise(3, $p));
    78                 if (isset($_GET['debug'])) {
     78                if (debug_get_mode('_session')) {
    7979                        echo "_SESSION_SI\{$champ $filtre $arg_un}<br>";
    8080                }
     
    111111        $r = "appliquer_filtre($get_champ, '.\"$filtre\" $virgule_arg_un $virgule_arg_deux .')";
    112112
    113         if (isset($_GET['debug']))
     113        if (debug_get_mode('_session'))
    114114                echo "<b>compile_appel_macro_session renvoie :</b><pre>$r</pre>";
    115115        return $r;
Note: See TracChangeset for help on using the changeset viewer.