Index: trunk/kernel/action.php =================================================================== diff -u -N -r869 -r874 --- trunk/kernel/action.php (.../action.php) (revision 869) +++ trunk/kernel/action.php (.../action.php) (revision 874) @@ -7,36 +7,9 @@ $skipDebug = Array('index.php','tree.php','head.php','credits.php'); if( admin_login() && !in_array($script, $skipDebug) ) { - if( defined('DEBUG_ACTIONS') ) - { - if( (DEBUG_ACTIONS & SHOW_REQUEST) == SHOW_REQUEST ) - { - if($Action) $debugger->appendHTML('Kernel Action: '.$Action.''); - $debugger->appendHTML('ScriptName: '.$debugger->getFileLink($_SERVER['PATH_TRANSLATED'],1,$script).' ('.dirname($_SERVER['PHP_SELF']).')'); - $requestTable = ' - '; - - foreach($_REQUEST as $key => $value) - { - if( !is_array($value) && trim($value) == '' ) - { - $value = 'no value'; - } - else - { - $value = htmlspecialchars(print_r($value, true)); - } - $src = isset($_GET[$key]) ? 'GE' : (isset($_POST[$key]) ? 'PO' : (isset($_COOKIE[$key]) ? 'CO' : '?') ); - $requestTable .= ''; - } - $requestTable .= '
SrcNameValue
'.$src.''.$key.''.$value.'
'; - $debugger->appendHTML($requestTable); - unset($requestTable); - } - } - if( IsDebugMode() ) { + if($Action) $debugger->setHTMLByIndex(1,'Kernel Action: '.$Action.'','append'); echo 'Reload Frame || '; echo 'Show Debugger
'; }