Index: debugger.php =================================================================== --- debugger.php (revision 12686) +++ debugger.php (working copy) @@ -176,18 +176,18 @@ { global $dbg_options; - unset($_REQUEST['debug_host'], $_REQUEST['debug_fastfile'], $_REQUEST['debug_session_id'], $_REQUEST['debug_start_session'], $dbg_options['DBG_IP']); // this var messed up whole detection stuff :( + unset($dbg_options['DBG_IP']); // Detect fact, that this session beeing debugged by Zend Studio - foreach ($_REQUEST as $rq_name => $rq_value) { - if (substr($rq_name, 0, 6) == 'debug_') { + foreach ($_COOKIE as $cookie_name => $cookie_value) { + if (substr($cookie_name, 0, 6) == 'debug_') { $this->safeDefine('DBG_ZEND_PRESENT', 1); break; } } $this->safeDefine('DBG_ZEND_PRESENT', 0); // set this constant value to 0 (zero) to debug debugger using Zend Studio - + // set default values for debugger constants $dbg_constMap = Array ( 'DBG_USE_HIGHLIGHT' => 1, // highlight output same as php code using "highlight_string" function