X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/41cde93bc152ccd48b5fc25d652d288a6a0af016..9d77c0fe903db4f4ab2e3c6b5d5fc956f58c227d:/lib/config.original.php diff --git a/lib/config.original.php b/lib/config.original.php index 1a2c0cc..f1f0368 100644 --- a/lib/config.original.php +++ b/lib/config.original.php @@ -2,7 +2,7 @@ /* * Jirafeau, your web file repository * Copyright (C) 2008 Julien "axolotl" BERNARD - * Copyright (C) 2015 Jerome Jutteau + * Copyright (C) 2015 Jerome Jutteau * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -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;