X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/fbf2b5f1a5016c8ecfa27d474d4c22ffd22919f9..145950308252425226bcc5b97993550fefac3c15:/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;