X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/78a1c41c40bb216e3879220fc544f8ae816d3c1b..1203cc4e9094fa86f7978c9da56f454d4c21ca32:/lib/config.original.php?ds=sidebyside

diff --git a/lib/config.original.php b/lib/config.original.php
index f522944..f1f0368 100644
--- a/lib/config.original.php
+++ b/lib/config.original.php
@@ -180,3 +180,10 @@ $cfg['litespeed_workaround'] = false;
  * or needs to start the installation script
  */
 $cfg['installation_done'] = false;
+
+/* Enable this debug flag to allow eventual PHP error reporting.
+ * This is disabled by default permission misconfiguration might generate warnings or errors.
+ * Those warnings can break Jirafeau and also show path to var- folder in debug messages.
+ * var- folder should kept secret and accessing it may lead to data leak if unprotected.
+ */
+$cfg['debug'] = false;