From 2a1461e2f65b054d1359c7eff43987cd8566441b Mon Sep 17 00:00:00 2001 From: Gnieark Date: Fri, 11 Dec 2015 17:23:58 +0100 Subject: [PATCH] fix php parse error --- src/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functions.php b/src/functions.php index ed1d5be..fb776da 100644 --- a/src/functions.php +++ b/src/functions.php @@ -214,7 +214,7 @@ function save_battle($game,$bot1,$bot2,$resultat){ ON DUPLICATE KEY UPDATE ".$field." = ".$field." + 1;"); } function get_unique_id(){ - $fp = fopen(__DIR__'countBattles.txt', 'c+'); + $fp = fopen(__DIR__.'countBattles.txt', 'c+'); flock($fp, LOCK_EX); $count = (int)fread($fp, filesize('count.txt'));