/branches/v0.3-aleaume/framework/Bdd.php |
---|
136,7 → 136,6 |
case self::ABSTRACTION_PDO : |
try { |
$this->connexion = new PDO($this->dsn, $this->utilisateur, $this->pass); |
$this->connexion->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); |
} catch (PDOException $e) { |
$e = sprintf(self::ERREUR_CONNEXION_TPL, $e->getMessage()); |
trigger_error($e, E_USER_WARNING); |