From 7d5b6fa3ea69498ec2767a006b82b6c575507c19 Mon Sep 17 00:00:00 2001 From: Anyon Date: Mon, 8 Apr 2019 13:03:50 +0800 Subject: [PATCH] Update Login.php --- application/admin/controller/Login.php | 1 - 1 file changed, 1 deletion(-) diff --git a/application/admin/controller/Login.php b/application/admin/controller/Login.php index 9b936bf2f..d5befa2cd 100644 --- a/application/admin/controller/Login.php +++ b/application/admin/controller/Login.php @@ -97,7 +97,6 @@ class Login extends Controller */ public function out() { - if ($_SESSION) $_SESSION = []; [session_unset(), session_destroy()]; $this->success('退出登录成功!', url('@admin/login')); }