mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
Preload error handler class
This commit is contained in:
parent
f7bb0c5510
commit
c07c0ee3de
@ -47,6 +47,11 @@ System\Benchmark::$marks['laravel'] = LARAVEL_START;
|
||||
// --------------------------------------------------------------
|
||||
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.
|
||||
// --------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user