From f99de82f68a29ccaa11117c76305ed70ef1c75e0 Mon Sep 17 00:00:00 2001 From: Yoann Date: Thu, 7 Apr 2011 10:12:37 +0200 Subject: [PATCH] =?UTF-8?q?Retourne=20un=20objet=20au=20lieu=20de=20la=20c?= =?UTF-8?q?haine=20de=20caract=C3=A8re=20true=20ou=20false=20lors=20de=20l?= =?UTF-8?q?a=20v=C3=A9rification=20des=20mots.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/serveur/php/server.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/serveur/php/server.php b/code/serveur/php/server.php index b93063c..9d107e4 100644 --- a/code/serveur/php/server.php +++ b/code/serveur/php/server.php @@ -79,9 +79,9 @@ function main() throw new Exception("La requête est incomplète", 2); if(wordExist($_GET['word'])) - echo 'true'; + echo true; else - echo 'false'; + echo false; } else if($action == 5) { // Get relations (JSON) echo getGameRelationsJSON();