Commit c17e357f authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #1 from hinathan/master

Preload the System\Error class
parents f7bb0c55 c07c0ee3
...@@ -47,6 +47,11 @@ System\Benchmark::$marks['laravel'] = LARAVEL_START; ...@@ -47,6 +47,11 @@ System\Benchmark::$marks['laravel'] = LARAVEL_START;
// -------------------------------------------------------------- // --------------------------------------------------------------
error_reporting((System\Config::get('error.detail')) ? E_ALL | E_STRICT : 0); error_reporting((System\Config::get('error.detail')) ? E_ALL | E_STRICT : 0);
// --------------------------------------------------------------
// Ensure Error class loads before any errors fire.
// --------------------------------------------------------------
class_exists('System\Error');
// -------------------------------------------------------------- // --------------------------------------------------------------
// Register the error handlers. // Register the error handlers.
// -------------------------------------------------------------- // --------------------------------------------------------------
......
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