You've already forked EasyImages2.0
mirror of
https://github.com/icret/EasyImages2.0.git
synced 2025-12-16 11:53:58 +08:00
fix
This commit is contained in:
@@ -4,7 +4,7 @@ require_once 'header.php';
|
||||
$config_user = $config['user'];
|
||||
|
||||
if (isset($_COOKIE[$config_user ]) and $_COOKIE[$config_user] == $config['password']) {
|
||||
setcookie("admin", null, time() - 1, '/');
|
||||
setcookie($config['user'], null, time() - 1, '/');
|
||||
header("Refresh:2;url=../index.php");
|
||||
echo '
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user