diff --git a/WEB/Controller/UserController.php b/WEB/Controller/UserController.php index 84c54bff..7a8226f1 100644 --- a/WEB/Controller/UserController.php +++ b/WEB/Controller/UserController.php @@ -206,6 +206,12 @@ class UserController $model = new UserModel(); $model->addToQueue(); $userGroup = $model->findUserGroup(); + echo ' + + '; } catch (Exception $e) { $error = $e->getMessage(); require($rep . $vues['erreur']); diff --git a/WEB/server.js b/WEB/server.js index 6d4c0cdd..95726aa4 100644 --- a/WEB/server.js +++ b/WEB/server.js @@ -19,4 +19,8 @@ io.on('launchGame' , function () { console.log('launch the game'); location.reload(); }) +module.exports = { + io : io +}; + console.log('iolisten'); \ No newline at end of file