From a32c17f62dd7b3cf52106141804e892230bcafdd Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 26 Jan 2022 19:27:18 +0800 Subject: [PATCH] 1 --- webapp/controller/MarketController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/MarketController.class.php b/webapp/controller/MarketController.class.php index aa580f12..8e6efad7 100644 --- a/webapp/controller/MarketController.class.php +++ b/webapp/controller/MarketController.class.php @@ -18,7 +18,7 @@ class MarketController extends BaseController { private function isTestMode() { - return isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == 443; + return isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == 443 && SERVER_ENV == _TEST; } public function searchBox()