]> git.p6c8.net - jirafeau.git/blobdiff - admin.php
[TASK] add structure for docker configuration
[jirafeau.git] / admin.php
index cfdfe3010dc26a12fab2b644329aa33b585eb7a4..ed55d2f07a57177e7bd0fc6748b0c268e2d8af0f 100644 (file)
--- 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.";

patrick-canterino.de