Currently removed, needs more testing

This commit is contained in:
Michael 2018-06-21 20:42:58 +00:00
parent 261d7435c0
commit 1b85b75563

View File

@ -76,8 +76,9 @@ class dba {
}
try {
self::$db = @new PDO($connect, $user, $pass);
self::$db->setAttribute(PDO::ATTR_EMULATE_PREPARES, false);
self::$db->setAttribute(PDO::ATTR_STRINGIFY_FETCHES, false);
// Needs more testing
//self::$db->setAttribute(PDO::ATTR_EMULATE_PREPARES, false);
//self::$db->setAttribute(PDO::ATTR_STRINGIFY_FETCHES, false);
self::$connected = true;
} catch (PDOException $e) {
}