fix bug, can't logout

pull/4/head
qkqpttgf 2020-01-18 23:01:55 +08:00 committed by GitHub
parent 6392416e74
commit fb63e77a10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -945,7 +945,7 @@
<?php }
if ($_SERVER['admin']) { // admin login. 管理登录后 ?>
function logout() {
document.cookie = "<?php echo $_SERVER['function_name'] . 'admin';?>=; path=/";
document.cookie = "admin=; path=/";
location.href = location.href;
}
function enableedit(obj) {