From 14a9ffd62ffb2c9ade6581c75431f51416a04cbe Mon Sep 17 00:00:00 2001 From: Yasder5 <102179445+Yasder5@users.noreply.github.com> Date: Sat, 28 Feb 2026 23:31:25 +0100 Subject: [PATCH] =?UTF-8?q?j'ai=20oubli=C3=A9=20quelque=20endroit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/MotherModel.php | 4 ++-- views/_partial/header.tpl | 2 +- views/user.tpl | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/models/MotherModel.php b/models/MotherModel.php index df9f2f7..d63bcfd 100644 --- a/models/MotherModel.php +++ b/models/MotherModel.php @@ -11,8 +11,8 @@ try{ $this->_db = new PDO( "mysql:host=localhost;dbname=projet_folliow", - "projet_user", - "F0lliowRules!", + "root", + "", array(PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC) ); $this->_db->exec("SET CHARACTER SET utf8"); diff --git a/views/_partial/header.tpl b/views/_partial/header.tpl index 7953c63..316ce2e 100644 --- a/views/_partial/header.tpl +++ b/views/_partial/header.tpl @@ -61,7 +61,7 @@