diff --git a/platform/TencentSCF_env.php b/platform/TencentSCF_env.php
index c8084ae..eae113d 100644
--- a/platform/TencentSCF_env.php
+++ b/platform/TencentSCF_env.php
@@ -1,4 +1,7 @@
- ', 'Program updating', 201);
+ ', 'Program updating', 201, 1);
}
- return output('Jump
+ return message(getconstStr('Success') . '
- ', 302);
+ var i = 0;
+ var uploadList = setInterval(function(){
+ if (document.getElementById("dis").style.display=="none") {
+ console.log(i++);
+ } else {
+ clearInterval(uploadList);
+ location.href = "' . path_format($_SERVER['base_path'] . '/') . '";
+ }
+ }, 1000);
+ ', 201, 1);
}
if ($_GET['install1']) {
$tmp['timezone'] = $_COOKIE['timezone'];
@@ -199,7 +210,7 @@ function install()
if ($tmp['ONEMANAGER_CONFIG_SAVE'] == 'file') {
$html = getconstStr('ONEMANAGER_CONFIG_SAVE_FILE') . '
' . getconstStr('Home') . '';
$title = 'Reinstall';
- return message($html, $title, 201);
+ return message($html, $title, 201, 1);
}
$html .= '