3d226dfeb89424af34c423264628eb2b4dfbe6b2
bernd webinterface => /webinterface

bernd authored 17 years ago

1) <?php
2) 
bernd Menü-Includes sinnvoller /...

bernd authored 16 years ago

3) require_once('config.php');
bernd Einige Dummheiten repariert...

bernd authored 14 years ago

4) require_once('inc/base.php');
bernd Mehr config-optionen und co...

bernd authored 14 years ago

5) $debugmode = (isset($_GET['debug']) && config('enable_debug'));
bernd Menü-Includes sinnvoller /...

bernd authored 16 years ago

6) 
bernd webinterface => /webinterface

bernd authored 17 years ago

7) function DEBUG($str)
8) {
bernd some updates

bernd authored 15 years ago

9)   global $debugmode;
10)   if ($debugmode)
11)     if (is_array($str) || is_object($str))
bernd Menü-Includes sinnvoller /...

bernd authored 16 years ago

12)     {
13)       echo "<pre>".print_r($str, true)."</pre>\n";
14)     }
15)     else
16)     {
bernd some updates

bernd authored 15 years ago

17)       echo $str . "<br />\n";
bernd Menü-Includes sinnvoller /...

bernd authored 16 years ago

18)     }
bernd webinterface => /webinterface

bernd authored 17 years ago

19) }
20) 
bernd DEBUG-Ausgaben zentralisiert

bernd authored 16 years ago

21) 
22) DEBUG("GET: ".htmlentities(print_r($_GET, true))." / POST: ".htmlentities(print_r($_POST, true)));
23)