fix login

This commit is contained in:
icret 2022-01-21 21:42:04 +08:00
parent 1bf0ee0ada
commit 36be9945d0
4 changed files with 4 additions and 7 deletions

View File

@ -49,10 +49,6 @@ if (isset($_REQUEST['code'])) {
}
}
if (isset($_GET['install'])) {
header('Location: login.php');
}
?>
<form class="form-horizontal" action="<?php echo $_SERVER['SCRIPT_NAME']; ?>" method="post" onsubmit="return md5_post()">
<div class="form-group">

1
config/EasyIamge.lock Executable file
View File

@ -0,0 +1 @@
安装环境检测锁定文件,如需再次展示请删除此文件!

View File

@ -1,4 +1,4 @@
<?php
<?php
$config=Array
(
'title'=>'简单图床 - EasyImage',
@ -41,7 +41,7 @@ $config=Array
'static_cdn_url'=>'https://cdn.jsdelivr.net/gh/icret/EasyImages2.0',
'TinyImag_key'=>'',
'moderatecontent_key'=>'',
'footer'=>'<a href="/admin/terms.php" target="_blank">请勿上传违反中国政策的图片</a>
'footer'=>'<a href="/admin/terms.php" target="_blank">请勿上传违反中国政策的图片</a>
<i class="icon icon-smile"></i> <br/>',
'ad_top'=>0,
'ad_top_info'=>' <div id="ad" class="col-md-12" align="center" style="padding:5px;">

View File

@ -52,6 +52,6 @@ if (isset($_POST['del_extra_files'])) {
echo '
<script>
window.alert("安装成功,即将为您跳转到登陆界面!");
location.href="../application/login.php?install";
location.href="../application/login.php";
</script>
';