1
This commit is contained in:
parent
9780c16ff8
commit
7e4c875ee6
@ -21,13 +21,12 @@ class CircuitController extends BaseAuthedController {
|
||||
{
|
||||
parent::_handlePre();
|
||||
if (!myself()->_switchIsOpen('circuitMatch')) {
|
||||
$this->_rspErr(1, 'current stage Have not yet started');
|
||||
return;
|
||||
$this->_rspErr(1, 'server error1');
|
||||
die;
|
||||
}
|
||||
if (!(count(CIRCUIT_MATCH_SERVER_LIST) <= 0 &&
|
||||
in_array(myself()->_getZid(), CIRCUIT_MATCH_SERVER_LIST))) {
|
||||
$this->_rspErr(1, 'current stage Have not yet started');
|
||||
return;
|
||||
if (!(count(CIRCUIT_MATCH_SERVER_LIST) <= 0 && in_array(myself()->_getZid(), CIRCUIT_MATCH_SERVER_LIST))) {
|
||||
$this->_rspErr(1, 'server error2');
|
||||
die;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user