summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorgodzilla80@gmx.net <>2010-02-20 18:56:09 +0000
committergodzilla80@gmx.net <>2010-02-20 18:56:09 +0000
commit17a29ce7e90fb28c9606342a803a7a5b7f3e16f3 (patch)
treebea95092cd6ec5f263311a87d99d7fb6167a4f4b /framework
parent63e85cd71abec981fde911c7f8a09daa43306ced (diff)
BUGFIX in TErrorHandler::hideSecurityRelated()
Diffstat (limited to 'framework')
-rw-r--r--framework/Exceptions/TErrorHandler.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/Exceptions/TErrorHandler.php b/framework/Exceptions/TErrorHandler.php
index 3b5927d6..4ac312d0 100644
--- a/framework/Exceptions/TErrorHandler.php
+++ b/framework/Exceptions/TErrorHandler.php
@@ -161,6 +161,7 @@ class TErrorHandler extends TModule
$aRpl[$_SERVER['DOCUMENT_ROOT']] = '${DocumentRoot}';
$aRpl[str_replace('/', DIRECTORY_SEPARATOR, $_SERVER['DOCUMENT_ROOT'])] = '${DocumentRoot}';
$aRpl[PRADO_DIR . DIRECTORY_SEPARATOR] = '${PradoFramework}' . DIRECTORY_SEPARATOR;
+ if(isset($aRpl[DIRECTORY_SEPARATOR])) unset($aRpl[DIRECTORY_SEPARATOR]);
$aRpl = array_reverse($aRpl, true);
return str_replace(array_keys($aRpl), $aRpl, $value);