diff options
author | xue <> | 2006-02-07 20:04:46 +0000 |
---|---|---|
committer | xue <> | 2006-02-07 20:04:46 +0000 |
commit | 38486b15411bb19da55b5cc8647e1814a21e1f30 (patch) | |
tree | 712af1954915ac9a2883898246b6a1b45e4a28b1 /framework/Exceptions/TErrorHandler.php | |
parent | 60e486b5697030d18311f67de29b95a892c7d95d (diff) |
Fixed a bug about setting ErrorTemplatePath
Diffstat (limited to 'framework/Exceptions/TErrorHandler.php')
-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 682de231..87f6b1c2 100644 --- a/framework/Exceptions/TErrorHandler.php +++ b/framework/Exceptions/TErrorHandler.php @@ -95,7 +95,7 @@ class TErrorHandler extends TModule */
public function setErrorTemplatePath($value)
{
- if(($templatePath=Prado::getPathOfNamespace($this->_templatePath))!==null && is_dir($templatePath))
+ if(($templatePath=Prado::getPathOfNamespace($value))!==null && is_dir($templatePath))
$this->_templatePath=$templatePath;
else
throw new TConfigurationException('errorhandler_errortemplatepath_invalid',$value);
|