for write specs

This commit is contained in:
Gnieark 2015-12-19 17:25:49 +01:00
parent 9cbad2f857
commit 65dcef4d0d

View File

@ -69,6 +69,7 @@ function place_ship_on_map($x1,$y1,$x2,$y2,$map){
switch($_POST['act']){ switch($_POST['act']){
case "init": case "init":
file_put_contents(__DIR__."/log.txt",print_r($_POST,true));
$wantedVars=array( $wantedVars=array(
'match_id' => false, //false-> string ; true -> integer 'match_id' => false, //false-> string ; true -> integer
'opponent' => false, 'opponent' => false,