From c7945ce0ce218c2ba184536794015cb37ce3b1fd Mon Sep 17 00:00:00 2001 From: Wayne Hsu Date: Wed, 17 May 2023 17:52:31 +0800 Subject: [PATCH] =?UTF-8?q?admin=20login=E6=94=B9=E5=88=B0index.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/adm/includes/init.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/adm/includes/init.php b/public/adm/includes/init.php index 5cbae1e0..a737bee4 100644 --- a/public/adm/includes/init.php +++ b/public/adm/includes/init.php @@ -257,7 +257,7 @@ if ((!isset($_SESSION['admin_id']) || intval($_SESSION['admin_id']) <= 0) && } else { - ecs_header("Location: privilege.php?act=login\n"); + ecs_header("Location: login.html\n"); } exit; @@ -286,7 +286,7 @@ if ((!isset($_SESSION['admin_id']) || intval($_SESSION['admin_id']) <= 0) && } else { - ecs_header("Location: privilege.php?act=login\n"); + ecs_header("Location: login.html\n"); } exit; @@ -301,7 +301,7 @@ if ((!isset($_SESSION['admin_id']) || intval($_SESSION['admin_id']) <= 0) && } else { - ecs_header("Location: privilege.php?act=login\n"); + ecs_header("Location: login.html\n"); } exit; @@ -326,7 +326,7 @@ if ($_REQUEST['act'] != 'login' && $_REQUEST['act'] != 'signin' && } else { - ecs_header("Location: privilege.php?act=login\n"); + ecs_header("Location: login.html\n"); } exit;