[fix] not throwing exception with db_mysql

This commit is contained in:
Benjamin Sonntag 2018-07-04 17:24:06 +02:00
parent a5bf37786c
commit cdd0bfd0fa
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class DB_Sql {
$dsn = sprintf('mysql:dbname=%s;host=%s', $db, $host);
$options=array(
\PDO::ATTR_ERRMODE => \PDO::ERRMODE_EXCEPTION
// \PDO::ATTR_ERRMODE => \PDO::ERRMODE_EXCEPTION
);
try {
$this->pdo_instance = new PDO($dsn, $user, $passwd, $options);