Index: trunk/core/kernel/application.php =================================================================== diff -u -r3064 -r3066 --- trunk/core/kernel/application.php (.../application.php) (revision 3064) +++ trunk/core/kernel/application.php (.../application.php) (revision 3066) @@ -876,7 +876,15 @@ if( $this->isDebugMode() && dbg_ConstOn('DBG_REDIRECT') ) { - $GLOBALS['debugger']->appendTrace(); + /*if( function_exists('apache_response_headers') ) + { + $this->Debugger->appendHTML('Apache Responce Headers'); + $this->Debugger->dumpVars( apache_response_headers() ); + + $this->Debugger->appendHTML('Apache Request Headers'); + $this->Debugger->dumpVars( apache_request_headers() ); + }*/ + $this->Debugger->appendTrace(); echo "Debug output above!!! Proceed to redirect: $a_location
"; } else Index: trunk/core/kernel/utility/debugger.php =================================================================== diff -u -r2989 -r3066 --- trunk/core/kernel/utility/debugger.php (.../debugger.php) (revision 2989) +++ trunk/core/kernel/utility/debugger.php (.../debugger.php) (revision 3066) @@ -291,10 +291,10 @@ { if( dbg_ConstOn('DBG_USE_HIGHLIGHT') ) { - $string = str_replace('\\','_no_match_string_',$string); + $string = str_replace( Array('\\', '/') , Array('_no_match_string_', '_n_m_s_'), $string); $string = highlight_string('', true); - $string = str_replace('_no_match_string_','\\',$string); - return preg_replace('/<\?(.*)php (.*)\?>/s','$2',$string); + $string = str_replace( Array('_no_match_string_', '_n_m_s_'), Array('\\', '/'), $string); + return preg_replace('/<\?(.*)php (.*)\?>/s', '$2', $string); } else { Index: trunk/kernel/include/debugger.php =================================================================== diff -u -r2989 -r3066 --- trunk/kernel/include/debugger.php (.../debugger.php) (revision 2989) +++ trunk/kernel/include/debugger.php (.../debugger.php) (revision 3066) @@ -291,9 +291,9 @@ { if( dbg_ConstOn('DBG_USE_HIGHLIGHT') ) { - $string = str_replace('\\','_no_match_string_',$string); + $string = str_replace( Array('\\', '/') , Array('_no_match_string_', '_n_m_s_'), $string); $string = highlight_string('', true); - $string = str_replace('_no_match_string_','\\',$string); + $string = str_replace( Array('_no_match_string_', '_n_m_s_'), Array('\\', '/'), $string); return preg_replace('/<\?(.*)php (.*)\?>/s','$2',$string); } else