diff --git a/config/config.php b/config/config.php index 126dc3f..99c30de 100644 --- a/config/config.php +++ b/config/config.php @@ -3,6 +3,8 @@ $rep=__DIR__.'/../'; - $con = new Connection('mysql:host=localhost;dbname=phpproject', 'nifranco', 'achanger'); - //$con = new Connection('mysql:host=localhost;dbname=dbanboudoul', 'anboudoul', 'achanger'); + //$con = new Connection('mysql:host=localhost;dbname=phpproject', 'nifranco', 'achanger'); + $con = new Connection('mysql:host=localhost;dbname=dbanboudoul', 'anboudoul', 'mdpMYSQL'); + + $TMessage = array(); ?> \ No newline at end of file diff --git a/controller/FrontCtrl.php b/controller/FrontCtrl.php index ba1f3cf..b6951e2 100644 --- a/controller/FrontCtrl.php +++ b/controller/FrontCtrl.php @@ -1,7 +1,7 @@