}
// 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_PACKAGE', 'Jirafeau');
-define('JIRAFEAU_VERSION', '4.2.0');
+define('JIRAFEAU_VERSION', '4.3.0');
/* Directories. */
define('VAR_FILES', $cfg['var_root'] . 'files/');
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');