]> git.p6c8.net - jirafeau_project.git/blobdiff - lib/settings.php
[BUGFIX] fix broken admin file listing
[jirafeau_project.git] / lib / settings.php
index 9bccc86069215cf78abf058268b7c1a0a4a7f75b..c520412bd3ae8ac397ec46703ec8938de7e0dd07 100644 (file)
@@ -29,6 +29,13 @@ if (file_exists(JIRAFEAU_ROOT . 'lib/config.local.php')) {
     unset($cfgOriginal);
 }
 
+// Setup debug mode
+error_reporting(0);
+if ($cfg['debug'] === true)
+{
+    error_reporting(E_ALL);
+}
+
 // Set constants
 
 /* Jirafeau package */

patrick-canterino.de