From 4fdb3675a79f80e8d9400aad7015250d125c92dd Mon Sep 17 00:00:00 2001 From: tof <> Date: Fri, 27 Jun 2008 07:52:37 +0000 Subject: Fixed #859 --- framework/Exceptions/TErrorHandler.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'framework') 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; } -- cgit v1.2.3