From db21d2f0c1769d76871f68304a75fdaa0209323f Mon Sep 17 00:00:00 2001 From: Gnieark Date: Sat, 19 Dec 2015 13:59:39 +0100 Subject: [PATCH] verif arena --- html/StupidIABattleship.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/StupidIABattleship.php b/html/StupidIABattleship.php index f9c5c4d..c28ee9d 100644 --- a/html/StupidIABattleship.php +++ b/html/StupidIABattleship.php @@ -208,7 +208,7 @@ switch($_POST['act']){ break; case "fight": //for debog arena - file_put_contents(__DIR__."log.txt",print_r($_POST)); + file_put_contents(__DIR__."log.txt",var_export($_POST)); // if((is_int(settype($_POST['width'],"integer"))) && (is_int(settype($_POST['height'],"integer")))){