.
This commit is contained in:
parent
ab64427ec8
commit
0be20dea4d
|
@ -70,12 +70,21 @@ switch ($_POST['act']){
|
|||
|
||||
}
|
||||
|
||||
//save bots on session var
|
||||
$_SESSION['bots'] = serialize($bots);
|
||||
$_SESSION['gameId'] = $gameId;
|
||||
|
||||
echo json_encode(array(
|
||||
'status' => 'OK',
|
||||
'logs' => $logs
|
||||
'logs' => $logs,
|
||||
'gameId' => $gameId
|
||||
));
|
||||
|
||||
die;
|
||||
break;
|
||||
case "play":
|
||||
print_r($_SESSION);
|
||||
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue
Block a user