1
This commit is contained in:
parent
6b6c685006
commit
21c9103d1b
@ -436,7 +436,8 @@ class BattleController extends BaseAuthedController {
|
||||
{
|
||||
$rawData = file_get_contents('php://input');
|
||||
error_log($rawData);
|
||||
$sign = strstr($rawData, '|', true);
|
||||
$headStr = strstr($rawData, '|', true);
|
||||
$sign = strstr($headStr, ':', true);
|
||||
$customData = strstr($rawData, '|');
|
||||
$customData = substr($customData, 1);
|
||||
error_log(json_encode(array(
|
||||
|
@ -144,7 +144,7 @@ class MatchController extends BaseAuthedController {
|
||||
} else {
|
||||
foreach ($currMatchDb as $key => $val) {
|
||||
$tmpTeamDb = $this->readTeamDb($r, $key);
|
||||
if (!empty($tmpTeamDb) || $this->_getNowTime() - $tmpTeamDb['match_time'] > 120) {
|
||||
if (!empty($tmpTeamDb) && $this->_getNowTime() - $val['match_time'] > 120) {
|
||||
array_push($delTeams, $key);
|
||||
} else {
|
||||
$found = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user