Index: branches/unlabeled/unlabeled-1.59.2/core/kernel/utility/debugger.php =================================================================== diff -u -r5632 -r5637 --- branches/unlabeled/unlabeled-1.59.2/core/kernel/utility/debugger.php (.../debugger.php) (revision 5632) +++ branches/unlabeled/unlabeled-1.59.2/core/kernel/utility/debugger.php (.../debugger.php) (revision 5637) @@ -112,7 +112,7 @@ 'DBG_IGNORE_STRICT_ERRORS' => 1, // ignore PHP5 errors about private/public view modified missing in class declarations 'DBG_DOMVIEWER' => '/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_LOCAL_BASE_PATH' => 'w:', // replace DOC_ROOT in filenames (in errors) using this path ); // only for IE, in case if no windows php script editor defined @@ -656,8 +656,9 @@ $this->InitReport(); // set parameters required by AJAX // defined here, because user can define this contant while script is running, not event before debugger is started - $this->safeDefine('DBG_RAISE_ON_WARNINGS', 0); - + $this->safeDefine('DBG_RAISE_ON_WARNINGS', 0); + $this->safeDefine('DBG_TOOLBAR_BUTTONS', 1); + $this->appendSession(); // show php session if any // ensure, that 1st line of debug output always is this one: @@ -761,6 +762,9 @@ if ($this->IsFatalError || DBG_RAISE_ON_WARNINGS) { echo '$Debugger.Toggle();'; } + if (DBG_TOOLBAR_BUTTONS) { + echo '$Debugger.AddToolbar();'; + } ?> window.focus();