summaryrefslogtreecommitdiff
path: root/framework/Exceptions
diff options
context:
space:
mode:
authorxue <>2006-02-07 20:04:46 +0000
committerxue <>2006-02-07 20:04:46 +0000
commit38486b15411bb19da55b5cc8647e1814a21e1f30 (patch)
tree712af1954915ac9a2883898246b6a1b45e4a28b1 /framework/Exceptions
parent60e486b5697030d18311f67de29b95a892c7d95d (diff)
Fixed a bug about setting ErrorTemplatePath
Diffstat (limited to 'framework/Exceptions')
-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 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);