X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/6b52bb03e76ab87c5dac34d986d1c5515cdba26d..d8192d6d361c2d707bac679facce23c7167cb93b:/lib/functions.php?ds=sidebyside 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;