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()