diff --git a/models/MotherModel.php b/models/MotherModel.php index d63bcfd..df9f2f7 100644 --- a/models/MotherModel.php +++ b/models/MotherModel.php @@ -11,8 +11,8 @@ try{ $this->_db = new PDO( "mysql:host=localhost;dbname=projet_folliow", - "root", - "", + "projet_user", + "F0lliowRules!", array(PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC) ); $this->_db->exec("SET CHARACTER SET utf8");