X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/fbf2b5f1a5016c8ecfa27d474d4c22ffd22919f9..8ee528004ffcc1c82ee18ae95a8b3eba8b01bb00:/lib/functions.php?ds=sidebyside diff --git a/lib/functions.php b/lib/functions.php old mode 100755 new mode 100644 index f1f8965..c613d4a --- a/lib/functions.php +++ b/lib/functions.php @@ -503,10 +503,10 @@ show_errors () } } -function check_errors () +function check_errors ($cfg) { if (file_exists (JIRAFEAU_ROOT . 'install.php') - && !file_exists (JIRAFEAU_ROOT . 'lib/config.local.php')) + && !($cfg['installation_done'] === true)) { header('Location: install.php'); exit;