From c15b8ac10f284e05dcb48f381a22751be4dd20a9 Mon Sep 17 00:00:00 2001 From: beaulaton Date: Wed, 6 Nov 2024 18:04:00 +0100 Subject: [PATCH] correction FrontController --- index.php | 2 +- src/Controleur/FrontControler.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 21d30c8..e7933e9 100644 --- a/index.php +++ b/index.php @@ -12,7 +12,7 @@ require_once __DIR__ . '/config/config.php'; require __DIR__ . '/vendor/autoload.php'; -$co = new \Gateway\Connection('pgsql:host=localhost;dbname=dbkekentin;', 'kekentin', 'Chocolat-77'); +//$co = new \Gateway\Connection('pgsql:host=localhost;dbname=dbkekentin;', 'kekentin', 'Chocolat-77'); //twig $loader = new \Twig\Loader\FilesystemLoader('vue/templates'); diff --git a/src/Controleur/FrontControler.php b/src/Controleur/FrontControler.php index b14a6b4..3dc128d 100644 --- a/src/Controleur/FrontControler.php +++ b/src/Controleur/FrontControler.php @@ -7,7 +7,7 @@ Class FrontControler{ private $listAction; - private string $role = 'admin' //Mettre en admin le temps de créer les comptes + private string $role = 'admin'; //Mettre en admin le temps de créer les comptes private Connection $co;