]> git.p6c8.net - jirafeau_project.git/blobdiff - lib/settings.php
[BUGFIX] lower POST size when ̀PHP's upload_max_filesize is too low.
[jirafeau_project.git] / lib / settings.php
index 9bccc86069215cf78abf058268b7c1a0a4a7f75b..fa9efaa8e0309650909258be11bc66db3451b7cf 100644 (file)
@@ -29,11 +29,22 @@ if (file_exists(JIRAFEAU_ROOT . 'lib/config.local.php')) {
     unset($cfgOriginal);
 }
 
     unset($cfgOriginal);
 }
 
+// Setup debug mode
+if ($cfg['debug'] === true)
+{
+    @error_reporting(E_ALL);
+}
+else
+{
+    @error_reporting(0);
+}
+
+
 // Set constants
 
 /* Jirafeau package */
 define('JIRAFEAU_PACKAGE', 'Jirafeau');
 // 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/');
 
 /* Directories. */
 define('VAR_FILES', $cfg['var_root'] . 'files/');

patrick-canterino.de