added config option for display_errors. fixed response::error to use dot syntax.

This commit is contained in:
Taylor Otwell
2012-01-31 13:29:38 -06:00
parent 659fd50a65
commit 62856a15ce
3 changed files with 19 additions and 2 deletions

View File

@@ -66,4 +66,21 @@ return array(
Log::exception($exception);
},
/*
|--------------------------------------------------------------------------
| PHP INI Display Errors Setting
|--------------------------------------------------------------------------
|
| Here you may specify the display_errors setting of the PHP.ini file.
| Typically you may keep this "Off", as Laravel will cleanly handle
| the display of all errors.
|
| However, if you encounter an infamous white screen of death scenario,
| turning this "On" may help you solve the problem by getting the
| real error message being thrown by the application.
|
*/
'display' => 'Off',
);