X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/fbf2b5f1a5016c8ecfa27d474d4c22ffd22919f9..e95272d60f03ab1e62912ce9b99943ced8acb527:/lib/functions.php diff --git a/lib/functions.php b/lib/functions.php index f1f8965..c613d4a 100755 --- 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;