From f34ad426209b0a4ed07892a061fa173a5e533d4f Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 9 Jul 2009 13:05:27 +0000 Subject: dont redirect if debug output visible --- auto_prepend.php | 1 + 1 file changed, 1 insertion(+) (limited to 'auto_prepend.php') 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]; } -- cgit v1.2.3