diff options
Diffstat (limited to 'framework')
-rw-r--r-- | framework/TApplication.php | 2 | ||||
-rw-r--r-- | framework/prado.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/TApplication.php b/framework/TApplication.php index 9051ea23..5506b38d 100644 --- a/framework/TApplication.php +++ b/framework/TApplication.php @@ -261,8 +261,6 @@ class TApplication extends TComponent */ protected function applyDefaultExceptionHandlers() { - set_error_handler(array('Prado','phpErrorHandler'),error_reporting()); - set_exception_handler(array('Prado','exceptionHandler')); } /** diff --git a/framework/prado.php b/framework/prado.php index a76f4d16..9a83518c 100644 --- a/framework/prado.php +++ b/framework/prado.php @@ -48,6 +48,8 @@ if(!function_exists('__autoload')) //Exception stack is empty if set error handlers requires TApplication //and TApplication then causes an exception during instantiation. //see TApplication::initDefaultExceptionHandlers() +set_error_handler(array('Prado','phpErrorHandler'),error_reporting()); +set_exception_handler(array('Prado','exceptionHandler')); /** * Includes TApplication class file |