This commit is contained in:
icret
2022-03-30 14:19:26 +08:00
parent e78f5ff4a4
commit 5a95341e2a
134 changed files with 11204 additions and 191 deletions

2
application/function.php Executable file → Normal file
View File

@@ -1,4 +1,5 @@
<?php
/**
* EasyImage2.0 - 简单图床基础配置
@@ -506,7 +507,6 @@ function is_who_login($user)
global $guestConfig;
if (isset($_COOKIE['auth'])) {
$getCOK = unserialize($_COOKIE['auth']);
// if (!$getCOK) return false;
if ($user == 'admin') {
if ($getCOK[1] == $config['password']) return true;
}