Currently removed, needs more testing
This commit is contained in:
parent
261d7435c0
commit
1b85b75563
1 changed files with 3 additions and 2 deletions
|
@ -76,8 +76,9 @@ class dba {
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
self::$db = @new PDO($connect, $user, $pass);
|
self::$db = @new PDO($connect, $user, $pass);
|
||||||
self::$db->setAttribute(PDO::ATTR_EMULATE_PREPARES, false);
|
// Needs more testing
|
||||||
self::$db->setAttribute(PDO::ATTR_STRINGIFY_FETCHES, false);
|
//self::$db->setAttribute(PDO::ATTR_EMULATE_PREPARES, false);
|
||||||
|
//self::$db->setAttribute(PDO::ATTR_STRINGIFY_FETCHES, false);
|
||||||
self::$connected = true;
|
self::$connected = true;
|
||||||
} catch (PDOException $e) {
|
} catch (PDOException $e) {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue