mirror of
https://github.com/icret/EasyImages2.0.git
synced 2025-01-08 11:58:03 +08:00
Revert "Merge pull request #141 from zhangwenwen/master"
This reverts commita22cfb177e
, reversing changes made to12f209c1ad
.
This commit is contained in:
parent
a22cfb177e
commit
2ba02400e6
@ -88,7 +88,7 @@ if (isset($_POST['password']) and isset($_POST['user'])) {
|
||||
icon: "times" // 定义消息图标
|
||||
}).show();
|
||||
</script>';
|
||||
//header("refresh:2;");
|
||||
header("refresh:2;");
|
||||
}
|
||||
|
||||
// 登录日志
|
||||
@ -127,8 +127,8 @@ if (isset($_POST['password']) and isset($_POST['user'])) {
|
||||
<form class="form-horizontal" action="/admin/index.php" method="post" onsubmit="return md5_post()">
|
||||
<h2>登录</h2>
|
||||
<label for="account" class="col-sm-2"></label>
|
||||
<input type="text" name="user" id="account" class="form-control" value="<?echo $_POST['user']?>" placeholder="输入登录账号" autocomplete="off" required="required">
|
||||
<input type="password" name="password" id="password" class="form-control" value="<?echo $_POST['password']?>" placeholder="输入登录密码" autocomplete="off" required="required">
|
||||
<input type="text" name="user" id="account" class="form-control" value="" placeholder="输入登录账号" autocomplete="off" required="required">
|
||||
<input type="password" name="password" id="password" class="form-control" value="" placeholder="输入登录密码" autocomplete="off" required="required">
|
||||
<input type="hidden" name="password" id="md5_password">
|
||||
<?php if ($config['captcha']) : ?>
|
||||
<input class="form-control" type="text" name="code" value="" placeholder="请输入验证码" autocomplete="off" required="required" />
|
||||
|
@ -161,7 +161,7 @@ if ($handle->uploaded) {
|
||||
"thumb" => $handleThumb,
|
||||
"del" => $delUrl,
|
||||
"ID" => $tokenID, // 202-02-11 增加返回Token ID
|
||||
"message" => "success",
|
||||
"messge" => "success",
|
||||
// "memory" => getDistUsed(memory_get_peak_usage()), // 占用内存 2023-02-12
|
||||
);
|
||||
echo json_encode($reJson, JSON_UNESCAPED_UNICODE);
|
||||
|
Loading…
Reference in New Issue
Block a user