Index: branches/unlabeled/unlabeled-1.123.2/kernel/action.php
===================================================================
diff -u -r5626 -r5631
--- branches/unlabeled/unlabeled-1.123.2/kernel/action.php (.../action.php) (revision 5626)
+++ branches/unlabeled/unlabeled-1.123.2/kernel/action.php (.../action.php) (revision 5631)
@@ -4,18 +4,10 @@
// ====== Debugger related: begin ======
$script = basename($_SERVER['PHP_SELF']);
- $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 (!constOn('REDIRECT_REQUIRED')) {
- echo '';
- if (!constOn('DBG_ZEND_PRESENT')) {
- echo '
';
- }
- }
+ $skipDebug = Array('index.php', 'credits.php');
+ if (admin_login() && !in_array($script, $skipDebug)) {
+ if (IsDebugMode() && $Action) {
+ $debugger->setHTMLByIndex(1, 'Kernel Action: '.$Action.'', 'append');
}
}
unset($script, $skipDebug);