1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-08-01 22:00:31 +02:00

better error reporting for development environment

This commit is contained in:
Mikael Roos
2014-05-19 23:59:50 +02:00
parent ec42c41e4d
commit 6cff9ac105

View File

@@ -99,7 +99,9 @@ return array(
* Set error reporting to match development or production environment * Set error reporting to match development or production environment
*/ */
'error_reporting' => function() { '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); set_time_limit(20);
}, },
); );