fix login

This commit is contained in:
icret
2022-01-21 21:31:18 +08:00
parent 0723e4ad5f
commit 1bf0ee0ada
3 changed files with 13 additions and 10 deletions

View File

@@ -29,13 +29,6 @@ cache_write($config_file, $config);
file_put_contents(APP_ROOT . '/install/install.lock', '安装程序锁定文件。'); // 创建安装程序锁
// 跳转主页
echo '
<script>
window.alert("安装成功,即将为您跳转到登陆界面!");
location.href="' . get_whole_url('/install/contorl.php') . '/application/login.php' . '";
</script>
';
// 删除安装目录
if (isset($_POST['del_install'])) {
if ($_POST['del_install'] == "del") {
@@ -55,4 +48,10 @@ if (isset($_POST['del_extra_files'])) {
}
}
//exit(header("Location:/../application/login.php")); // 跳转主页
// 跳转主页
echo '
<script>
window.alert("安装成功,即将为您跳转到登陆界面!");
location.href="../application/login.php?install";
</script>
';