mirror of
https://github.com/mosbth/cimage.git
synced 2025-01-18 03:28:16 +01:00
better error reporting for development environment
This commit is contained in:
parent
ec42c41e4d
commit
6cff9ac105
@ -99,7 +99,9 @@ return array(
|
||||
* Set error reporting to match development or production environment
|
||||
*/
|
||||
'error_reporting' => function() {
|
||||
error_reporting(-1);
|
||||
error_reporting(-1); // Report all type of errors
|
||||
ini_set('display_errors', 1); // Display all errors
|
||||
ini_set('output_buffering', 0); // Do not buffer outputs, write directly
|
||||
set_time_limit(20);
|
||||
},
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user