summaryrefslogtreecommitdiff
path: root/auto_prepend.php
diff options
context:
space:
mode:
authorUrban Müller2009-07-09 13:05:27 +0000
committerUrban Müller2009-07-09 13:05:27 +0000
commitf34ad426209b0a4ed07892a061fa173a5e533d4f (patch)
tree9b54568337424d60aecab10d0ab236c17eee49bf /auto_prepend.php
parente4336712684fedf2ef47281cafc6d57b8c3bc1a5 (diff)
downloaditools-f34ad426209b0a4ed07892a061fa173a5e533d4f.tar.gz
itools-f34ad426209b0a4ed07892a061fa173a5e533d4f.tar.bz2
itools-f34ad426209b0a4ed07892a061fa173a5e533d4f.zip
dont redirect if debug output visible
Diffstat (limited to 'auto_prepend.php')
-rw-r--r--auto_prepend.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/auto_prepend.php b/auto_prepend.php
index f1ecba2..08ed7b1 100644
--- a/auto_prepend.php
+++ b/auto_prepend.php
@@ -53,6 +53,7 @@ function ED()
$args = func_get_args();
if (ob_get_level() == 0 && $_SERVER['REMOTE_ADDR'])
ob_start(); # prevent later 'headers already sent' error
+ $GLOBALS['debug_noredir'] = 1;
echo it_debug::dump($args);
return $args[0];
}