From edfdfdd1cbf6d597551d4128e7e11d6d92bcdf95 Mon Sep 17 00:00:00 2001 From: xue <> Date: Mon, 6 Aug 2007 18:58:55 +0000 Subject: fixed #685 --- framework/Exceptions/TErrorHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Exceptions/TErrorHandler.php') 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"; -- cgit v1.2.3