Browse Source

Currently removed, needs more testing

pull/5269/head
Michael 3 years ago
parent
commit
1b85b75563
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      include/dba.php

+ 3
- 2
include/dba.php 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) {
}


Loading…
Cancel
Save