]> git.p6c8.net - jirafeau.git/blobdiff - lib/settings.php
[FEATURE] Add composer
[jirafeau.git] / lib / settings.php
index 621af0c34f3728a80905e469a9e99962c44458f0..fa9efaa8e0309650909258be11bc66db3451b7cf 100644 (file)
@@ -30,11 +30,15 @@ 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
 

patrick-canterino.de