Index: trunk/kernel/action.php =================================================================== diff -u -N -r4243 -r4325 --- trunk/kernel/action.php (.../action.php) (revision 4243) +++ trunk/kernel/action.php (.../action.php) (revision 4325) @@ -4,16 +4,17 @@ // ====== Debugger related: begin ====== $script = basename($_SERVER['PHP_SELF']); -$skipDebug = Array('index.php','tree.php','head.php','credits.php'); +$skipDebug = Array('index.php', 'tree.php', 'head.php', 'credits.php'); if( admin_login() && !in_array($script, $skipDebug) ) { if( IsDebugMode() ) { if($Action) $debugger->setHTMLByIndex(1,'Kernel Action: '.$Action.'','append'); - if(!(defined('REDIRECT_REQUIRED')&&REDIRECT_REQUIRED)) - { - echo 'Reload Frame'; - if( defined('DBG_ZEND_PRESENT')&&DBG_ZEND_PRESENT==0 ) echo ' || Show Debugger
'; + if (!constOn('REDIRECT_REQUIRED')) { + echo ''; + if (!constOn('DBG_ZEND_PRESENT')) { + echo '  
'; + } } } }