summaryrefslogtreecommitdiff
path: root/framework/Exceptions/TErrorHandler.php
diff options
context:
space:
mode:
authorxue <>2007-08-06 18:58:55 +0000
committerxue <>2007-08-06 18:58:55 +0000
commitedfdfdd1cbf6d597551d4128e7e11d6d92bcdf95 (patch)
tree9a39721593e768419fb58c8b21e88ff4748bb0ae /framework/Exceptions/TErrorHandler.php
parent1031b56f982f973f85cb3e1528f7bcbba662778f (diff)
fixed #685
Diffstat (limited to 'framework/Exceptions/TErrorHandler.php')
-rw-r--r--framework/Exceptions/TErrorHandler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Exceptions/TErrorHandler.php b/framework/Exceptions/TErrorHandler.php
index 8af52ad3..2d245a2f 100644
--- a/framework/Exceptions/TErrorHandler.php
+++ b/framework/Exceptions/TErrorHandler.php
@@ -278,7 +278,7 @@ class TErrorHandler extends TModule
*/
protected function getErrorTemplate($statusCode,$exception)
{
- $base=$this->getErrorTemplatePath().'/'.self::ERROR_FILE_NAME;
+ $base=$this->getErrorTemplatePath().DIRECTORY_SEPARATOR.self::ERROR_FILE_NAME;
$lang=Prado::getPreferredLanguage();
if(is_file("$base$statusCode-$lang.html"))
$errorFile="$base$statusCode-$lang.html";