diff options
author | tof <> | 2008-06-27 07:52:37 +0000 |
---|---|---|
committer | tof <> | 2008-06-27 07:52:37 +0000 |
commit | 4fdb3675a79f80e8d9400aad7015250d125c92dd (patch) | |
tree | 31908d35fa5c66551257eec027c073fa41dde4ff | |
parent | 03566372b32f4e861630bc9cf90d62cb6a4083ea (diff) |
Fixed #859
-rw-r--r-- | framework/Exceptions/TErrorHandler.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/Exceptions/TErrorHandler.php b/framework/Exceptions/TErrorHandler.php index f78a26e8..d60e2b49 100644 --- a/framework/Exceptions/TErrorHandler.php +++ b/framework/Exceptions/TErrorHandler.php @@ -77,15 +77,15 @@ class TErrorHandler extends TModule public function init($config)
{
$this->getApplication()->setErrorHandler($this);
- if($this->_templatePath===null)
- $this->_templatePath=Prado::getFrameworkPath().'/Exceptions/templates';
}
/**
* @return string the directory containing error template files.
*/
public function getErrorTemplatePath()
- {
+ { + if($this->_templatePath===null) + $this->_templatePath=Prado::getFrameworkPath().'/Exceptions/templates';
return $this->_templatePath;
}
|