diff --git a/webapp/controller/BaseController.class.php b/webapp/controller/BaseController.class.php index 18596580..55438c5f 100644 --- a/webapp/controller/BaseController.class.php +++ b/webapp/controller/BaseController.class.php @@ -410,6 +410,10 @@ class BaseController { myself()->_callServiceStatic('ServerSwitchService', 'verifySwitch', $name); } + public static function _switchIsOpen($name) { + myself()->_callServiceStatic('ServerSwitchService', 'switchIsOpen', $name); + } + public function _mergeAlikeItemKey($items){ $hashItems = array(); foreach ($items as $item){