From 7b149b77887320ba471441aabbdbbc436dff9706 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 16 Aug 2024 12:33:15 +0200 Subject: [PATCH] install check --- install.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/install.php b/install.php index 9a65969..c25502e 100644 --- a/install.php +++ b/install.php @@ -29,10 +29,11 @@ $json = json_encode($_POST, JSON_UNESCAPED_SLASHES|JSON_PRETTY_PRINT); //echo $json; // TODO preview about selected options? -// TODO - new install in progress? +// TODO - new install in progress? INSTALL_STATUS=0 $key = "install:".date("YmdHis"); redis_set($key,$json); +//$key = "install:20240816101849"; // DEBUG /* put_install_envs(); @@ -86,8 +87,9 @@ function check_install() { redirectToManage(); } else { - $("#previous").html('Please wait...'); - setTimeout(redirectToInstall, 1000); + counter+=1 + $("#response").html('Please wait... ' + counter); + setTimeout(check_install, 1000); } }); } @@ -103,8 +105,7 @@ function check_install() { } }); - //setTimeout(redirectToManage, 10000); - + counter=0; });