Index: branches/5.2.x/core/kernel/utility/debugger.php =================================================================== diff -u -N -r15369 -r15409 --- branches/5.2.x/core/kernel/utility/debugger.php (.../debugger.php) (revision 15369) +++ branches/5.2.x/core/kernel/utility/debugger.php (.../debugger.php) (revision 15409) @@ -1,6 +1,6 @@ '/temp/domviewer.html', // path to DOMViewer on website 'DOC_ROOT' => str_replace('\\', '/', realpath($_SERVER['DOCUMENT_ROOT']) ), // windows hack 'DBG_LOCAL_BASE_PATH' => 'w:', // replace DOC_ROOT in filenames (in errors) using this path + 'DBG_SHORTCUT' => 'F12', // Defines debugger activation shortcut (any symbols or Ctrl/Alt/Shift are allowed, e.g. Ctrl+Alt+F12) ); // only for IE, in case if no windows php script editor defined @@ -999,7 +1000,7 @@ { $this->Data[] = Array ('html' => $html, 'debug_type' => 'html'); } - + /** * Returns instance of FirePHP class * @@ -1554,6 +1555,7 @@ 'SQLTime' => isset($this->ProfilerTotals['sql']) ? sprintf('%.5f', $this->ProfilerTotals['sql']) : 0, 'ScriptTime' => sprintf('%.5f', $this->ProfilerData['script_runtime']['ends'] - $this->ProfilerData['script_runtime']['begins']), 'ScriptMemory' => DebuggerUtil::formatSize($this->getMemoryUsed($debugger_start)), + 'Shortcut' => DBG_SHORTCUT, ); ob_start(); @@ -1563,7 +1565,7 @@ ?>
- +