diff --git a/WEB/Controller/UserController.php b/WEB/Controller/UserController.php index b61a6b27..18fd13c6 100644 --- a/WEB/Controller/UserController.php +++ b/WEB/Controller/UserController.php @@ -2,13 +2,13 @@ class UserController { - // private Connection $con; + private Connection $con; function __construct() { try{ echo "UserController"; global $dsn, $rep, $vues, $error; - // $this->con=new Connection ($dsn); + $this->con=new Connection ($dsn); echo "USconection"; $action=$_REQUEST['action']; switch($action) {