1
This commit is contained in:
parent
7e9d891078
commit
58a32c51f3
@ -51,6 +51,10 @@ class ServerSwitchService {
|
||||
die();
|
||||
}
|
||||
|
||||
public static function switchIsOpen($name) {
|
||||
return self::getConfig()[$name] > 0;
|
||||
}
|
||||
|
||||
// private $switchConfig = null;
|
||||
//
|
||||
// private function initConfig(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user