|
@@ -61,6 +61,7 @@ set_exception_handler(function($e)
|
|
|
{
|
|
|
require_once SYS_PATH.'exception/handler'.EXT;
|
|
|
require_once SYS_PATH.'exception/examiner'.EXT;
|
|
|
+ require_once SYS_PATH.'file'.EXT;
|
|
|
|
|
|
Exception\Handler::make($e)->handle();
|
|
|
});
|
|
@@ -69,6 +70,7 @@ set_error_handler(function($number, $error, $file, $line)
|
|
|
{
|
|
|
require_once SYS_PATH.'exception/handler'.EXT;
|
|
|
require_once SYS_PATH.'exception/examiner'.EXT;
|
|
|
+ require_once SYS_PATH.'file'.EXT;
|
|
|
|
|
|
Exception\Handler::make(new \ErrorException($error, $number, 0, $file, $line))->handle();
|
|
|
});
|
|
@@ -79,6 +81,7 @@ register_shutdown_function(function()
|
|
|
{
|
|
|
require_once SYS_PATH.'exception/handler'.EXT;
|
|
|
require_once SYS_PATH.'exception/examiner'.EXT;
|
|
|
+ require_once SYS_PATH.'file'.EXT;
|
|
|
|
|
|
extract($error);
|
|
|
|