Enable php display_errors setting

This commit is contained in:
Bart Visscher 2011-10-27 22:48:50 +02:00
parent 6d4d15b221
commit 7b01858c57
1 changed files with 3 additions and 0 deletions

View File

@ -77,6 +77,9 @@ class OC{
// set some stuff
//ob_start();
error_reporting(E_ALL | E_STRICT);
if (defined('DEBUG') && DEBUG){
ini_set('display_errors', 1);
}
date_default_timezone_set('Europe/Berlin');
ini_set('arg_separator.output','&');