diff options
author | xue <> | 2007-08-06 18:58:55 +0000 |
---|---|---|
committer | xue <> | 2007-08-06 18:58:55 +0000 |
commit | edfdfdd1cbf6d597551d4128e7e11d6d92bcdf95 (patch) | |
tree | 9a39721593e768419fb58c8b21e88ff4748bb0ae /framework/Exceptions | |
parent | 1031b56f982f973f85cb3e1528f7bcbba662778f (diff) |
fixed #685
Diffstat (limited to 'framework/Exceptions')
-rw-r--r-- | framework/Exceptions/TErrorHandler.php | 2 |
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";
|