diff options
author | wei <> | 2005-12-11 00:07:50 +0000 |
---|---|---|
committer | wei <> | 2005-12-11 00:07:50 +0000 |
commit | ba423d5eee055002345ee88b748d91f5f1d06c4e (patch) | |
tree | 9a8926c96b887b3ee1ae4d73a087b27bb179e8c6 /framework/prado.php | |
parent | 5ecce1f03a230da31fddc91008e76978ef90fa78 (diff) |
Throws "Fatal error: Exception thrown without a stack frame in Unknown on line 0"
Diffstat (limited to 'framework/prado.php')
-rw-r--r-- | framework/prado.php | 2 |
1 files changed, 2 insertions, 0 deletions
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 |