X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/df31fed41e6f10218a99ece4a4f47571eea360f5..dddcc255110ee8219bfb41943c6e4430a02139aa:/admin.php diff --git a/admin.php b/admin.php index cfdfe30..ed55d2f 100644 --- a/admin.php +++ b/admin.php @@ -32,6 +32,9 @@ if (file_exists(JIRAFEAU_ROOT . 'install.php') /* If called from CLI, no password or graphical interface */ if (php_sapi_name() == "cli") { + if ($cfg['installation_done'] == false) { + die("installation not completed yet\n"); + } if ((count($argv)>1) && $argv[1]=="clean_expired") { $total = jirafeau_admin_clean(); echo "$total expired files deleted.";