Commit 9dea22c3 authored by Taylor Otwell's avatar Taylor Otwell

require_once on error class.

parent aaeb7bc3
......@@ -27,7 +27,7 @@ require 'core.php';
set_exception_handler(function($e)
{
require path('sys').'error'.EXT;
require_once path('sys').'error'.EXT;
Error::exception($e);
});
......@@ -35,7 +35,7 @@ set_exception_handler(function($e)
set_error_handler(function($code, $error, $file, $line)
{
require path('sys').'error'.EXT;
require_once path('sys').'error'.EXT;
Error::native($code, $error, $file, $line);
});
......@@ -43,7 +43,7 @@ set_error_handler(function($code, $error, $file, $line)
register_shutdown_function(function()
{
require path('sys').'error'.EXT;
require_once path('sys').'error'.EXT;
Error::shutdown();
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment