mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:35:56 +00:00
add experimental support for PDO (_ENABLE_PDO)
This commit is contained in:
@@ -8,7 +8,7 @@ class Db implements IDb {
|
||||
|
||||
$er = error_reporting(E_ALL);
|
||||
|
||||
if (class_exists("PDO")) {
|
||||
if (defined('_ENABLE_PDO') && _ENABLE_PDO && class_exists("PDO")) {
|
||||
$this->adapter = new Db_PDO();
|
||||
} else {
|
||||
switch (DB_TYPE) {
|
||||
|
||||
Reference in New Issue
Block a user