From 3adc47b656e8f7c80e4fd7fbd8ca6d823a720f1b Mon Sep 17 00:00:00 2001 From: hujiabin <519660157@qq.com> Date: Mon, 10 Jul 2023 20:31:58 +0800 Subject: [PATCH] 1 --- webapp/controller/GMController.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webapp/controller/GMController.class.php b/webapp/controller/GMController.class.php index 886ed595..994fed5d 100644 --- a/webapp/controller/GMController.class.php +++ b/webapp/controller/GMController.class.php @@ -13,10 +13,10 @@ class GMController extends BaseAuthedController { public function _handlePre() { parent::_handlePre(); -// if (SERVER_ENV == _ONLINE) { -// die("can't create GMController"); -// return; -// } + if (SERVER_ENV == _ONLINE) { + die("can't create GMController"); + return; + } } public function execCmd()