Merge pull request #1 from hinathan/master

Preload the System\Error class
This commit is contained in:
Taylor Otwell 2011-06-10 11:48:03 -07:00
commit c17e357fb6
1 changed files with 5 additions and 0 deletions

View File

@ -47,6 +47,11 @@
// --------------------------------------------------------------
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.
// --------------------------------------------------------------