You've already forked EasyImages2.0
mirror of
https://github.com/icret/EasyImages2.0.git
synced 2025-12-16 11:53:58 +08:00
增加前端上传签名
This commit is contained in:
@@ -9,7 +9,7 @@ require_once __DIR__ . '/function.php';
|
||||
// 非管理员不可访问!
|
||||
if (!is_who_login('admin')) exit('Permission denied');
|
||||
// 禁止直接访问
|
||||
if (empty($_REQUEST['pass']) || $_REQUEST['pass'] !== md5($config['password'] . date('ymdh'))) exit('Authentication error!');
|
||||
if (empty($_REQUEST['sign']) || $_REQUEST['sign'] !== md5($config['password'] . date('ymdh'))) exit('Authentication error!');
|
||||
|
||||
// 登录日志
|
||||
if (isset($_GET['login_log'])) {
|
||||
|
||||
Reference in New Issue
Block a user