]> git.p6c8.net - jirafeau.git/blobdiff - lib/settings.php
[BUGFIX] lower POST size when ̀PHP's upload_max_filesize is too low.
[jirafeau.git] / lib / settings.php
index c520412bd3ae8ac397ec46703ec8938de7e0dd07..fa9efaa8e0309650909258be11bc66db3451b7cf 100644 (file)
@@ -30,17 +30,21 @@ if (file_exists(JIRAFEAU_ROOT . 'lib/config.local.php')) {
 }
 
 // Setup debug mode
-error_reporting(0);
 if ($cfg['debug'] === true)
 {
-    error_reporting(E_ALL);
+    @error_reporting(E_ALL);
 }
+else
+{
+    @error_reporting(0);
+}
+
 
 // Set constants
 
 /* Jirafeau package */
 define('JIRAFEAU_PACKAGE', 'Jirafeau');
-define('JIRAFEAU_VERSION', '4.1.1');
+define('JIRAFEAU_VERSION', '4.2.0');
 
 /* Directories. */
 define('VAR_FILES', $cfg['var_root'] . 'files/');

patrick-canterino.de