Index: trunk/core/kernel/utility/debugger.php
===================================================================
diff -u -r3527 -r3648
--- trunk/core/kernel/utility/debugger.php (.../debugger.php) (revision 3527)
+++ trunk/core/kernel/utility/debugger.php (.../debugger.php) (revision 3648)
@@ -393,7 +393,13 @@
function appendRequest()
{
- $script = $_SERVER['PHP_SELF'];
+ if (isset($_SERVER['SCRIPT_FILENAME'])) {
+ $script = $_SERVER['SCRIPT_FILENAME'];
+ }
+ else {
+ $script = $_SERVER['DOCUMENT_ROOT'].$_SERVER['PHP_SELF'];
+ }
+
$this->appendHTML('ScriptName: '.$this->getFileLink($script,1,basename($script)).' ('.dirname($script).')');
$this->appendHTML('DomViewer: ');