install check
This commit is contained in:
11
install.php
11
install.php
@@ -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>
|
||||||
|
Reference in New Issue
Block a user