From e201582945a4885b463396432a7c7e6d9f9146ac Mon Sep 17 00:00:00 2001 From: Noe GARNIER Date: Mon, 28 Nov 2022 11:13:59 +0100 Subject: [PATCH] test --- WEB/Controller/UserController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {