From 898626dc57500c00ae764101d11c56f1084851b0 Mon Sep 17 00:00:00 2001 From: Anna BOUDOUL Date: Fri, 23 Dec 2022 12:00:31 +0100 Subject: [PATCH] Start of exception management --- config/config.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/config.php b/config/config.php index 738b56b..39c1aca 100644 --- a/config/config.php +++ b/config/config.php @@ -3,8 +3,8 @@ $rep=__DIR__.'/../'; - $con = new Connection('mysql:host=localhost;dbname=phpproject', 'nifranco', 'achanger'); - //$con = new Connection('mysql:host=localhost;dbname=dbanboudoul', 'anboudoul', 'mdpMYSQL'); + //$con = new Connection('mysql:host=localhost;dbname=phpproject', 'nifranco', 'achanger'); + $con = new Connection('mysql:host=localhost;dbname=dbanboudoul', 'anboudoul', 'mdpMYSQL'); $TMessage = array(); @@ -15,5 +15,6 @@ $TabVues["register"] = "view/register.php"; $TabVues["newList"] = "view/newList.php"; $TabVues["liste"] = "view/liste.php"; + $TabVues["about"] = "view/about.php"; ?> \ No newline at end of file