From 164c88857ed388149e085d7e943ba0c97693a1f2 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 2 Dec 2020 17:03:09 +0800 Subject: [PATCH] 1 --- third_party/phpcommon/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/phpcommon/functions.php b/third_party/phpcommon/functions.php index 6b256fb..f1bf3c7 100644 --- a/third_party/phpcommon/functions.php +++ b/third_party/phpcommon/functions.php @@ -320,7 +320,7 @@ function isValidSessionId($account_id, $session_id) } if (SERVER_ENV == _ONLINE) { $channel = extractChannel($account_id); - if ($channel == 6000) { + if ($channel == 6000 && !defined('ENABLE_6000_CHANNEL')) { return false; } }