}
// Setup debug mode
-error_reporting(0);
-if ($cfg['debug'] === true)
-{
- error_reporting(E_ALL);
+if ($cfg['debug'] === true) {
+ @error_reporting(E_ALL);
+} else {
+ @error_reporting(0);
}
+
// Set constants
/* Jirafeau package */
define('JIRAFEAU_YEAR', 31536000); // JIRAFEAU_DAY * 365
// set UTC as default timezone for all date/time functions
-date_default_timezone_set ('UTC');
+date_default_timezone_set('UTC');