Index: trunk/kernel/include/debugger.php
===================================================================
diff -u -r1222 -r1291
--- trunk/kernel/include/debugger.php (.../debugger.php) (revision 1222)
+++ trunk/kernel/include/debugger.php (.../debugger.php) (revision 1291)
@@ -12,6 +12,8 @@
if(!defined($const_name)) define($const_name,$const_value);
}
+ unset($_REQUEST['debug_host']); // this var messed up whole detection stuff :(
+
// Detect fact, that this session beeing debugged by Zend Studio
foreach($_REQUEST as $rq_name=>$rq_value)
{
@@ -30,6 +32,7 @@
'DBG_USE_SHUTDOWN_FUNC'=>DBG_ZEND_PRESENT?0:1,
'DBG_HANDLE_ERRORS'=>DBG_ZEND_PRESENT?0:1,
'DBG_SHOW_MEMORY_USAGE'=>1,
+ 'DBG_IGNORE_STRICT_ERRORS'=>1,
'DOC_ROOT'=>$_SERVER['DOCUMENT_ROOT'],
'WINDOWS_ROOT'=>'w:');
@@ -434,6 +437,10 @@
return 'Notice';
break;
+ case E_STRICT:
+ return 'PHP5 Strict';
+ break;
+
default:
return '';
break;
@@ -704,7 +711,7 @@
*/
function getMemoryUsageReport()
{
- $info=Array('printReport'=>'print_report',
+ $info=Array('printReport'=>'print_report',
'saveError'=>'error_handling',
'Total'=>'total',
'Application'=>'application');
@@ -738,6 +745,8 @@
return false;
}
+ if( dbg_ConstOn('DBG_IGNORE_STRICT_ERRORS') && defined('E_STRICT') && ($errno == E_STRICT) ) return;
+
$long_id_pos=strrpos($errstr,'#');
if($long_id_pos!==false)
{