|
|
@@ -11,10 +11,9 @@ session_start();
|
|
|
|
|
|
date_default_timezone_set('Europe/Warsaw');// PHP 5 >= 5.1.0 required by date functions
|
|
|
|
|
|
-error_reporting(E_ERROR | E_RECOVERABLE_ERROR);
|
|
|
-ini_set('error_reporting', E_ERROR | E_RECOVERABLE_ERROR);
|
|
|
-ini_set('display_startup_errors','1');
|
|
|
-//display_startup_errors(0);
|
|
|
+$errorReportingLevel = E_ALL & ~E_NOTICE;
|
|
|
+error_reporting($errorReportingLevel);
|
|
|
+ini_set('error_reporting', $errorReportingLevel);
|
|
|
|
|
|
#TEST $_SESSION['DEBUG'] = 3;// TODO: TEST
|
|
|
if (!isset($_SESSION['DEBUG'])) $_SESSION['DEBUG'] = 0;// set default value
|