install check

This commit is contained in:
root
2024-08-16 12:33:15 +02:00
parent 961765f5d0
commit 7b149b7788

View File

@@ -29,10 +29,11 @@ $json = json_encode($_POST, JSON_UNESCAPED_SLASHES|JSON_PRETTY_PRINT);
//echo $json; //echo $json;
// TODO preview about selected options? // TODO preview about selected options?
// TODO - new install in progress? // TODO - new install in progress? INSTALL_STATUS=0
$key = "install:".date("YmdHis"); $key = "install:".date("YmdHis");
redis_set($key,$json); redis_set($key,$json);
//$key = "install:20240816101849"; // DEBUG
/* /*
put_install_envs(); put_install_envs();
@@ -86,8 +87,9 @@ function check_install() {
redirectToManage(); redirectToManage();
} }
else { else {
$("#previous").html('Please wait...'); counter+=1
setTimeout(redirectToInstall, 1000); $("#response").html('Please wait... ' + counter);
setTimeout(check_install, 1000);
} }
}); });
} }
@@ -103,8 +105,7 @@ function check_install() {
} }
}); });
//setTimeout(redirectToManage, 10000); counter=0;
}); });
</script> </script>
</body> </body>