fix bug, can't logout
parent
6392416e74
commit
fb63e77a10
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue