ServeurDeTest
johan 2 years ago
parent dffcca8afd
commit f9c5c7cd85

@ -7,7 +7,7 @@ class UserController
try {
global $dsn, $rep, $vues, $error;
$action = $_REQUEST['action'];
//register_event_handler('add_to_queue',array($this,"onAddToQueue"));
echo $action;
switch ($action) {
case NULL:
$this->goToHome();
@ -210,6 +210,7 @@ class UserController
'<script>
io.to($userGroup).emit("launchGame");
<script/>';
} catch (Exception $e) {
$error = $e->getMessage();
require($rep . $vues['erreur']);

Loading…
Cancel
Save