X-Git-Url: http://git.datanom.net/qtadmin.git/blobdiff_plain/6df4b8055a0e63b554ed211760ab1aa5cb431306..91da83b50276678ae60a1f6016d25f88072b7abb:/lib/db_factory.php diff --git a/lib/db_factory.php b/lib/db_factory.php index 68b1ee5..f40e327 100644 --- a/lib/db_factory.php +++ b/lib/db_factory.php @@ -1,15 +1,15 @@ db_driver)) { - switch ($CFG->db_driver) { - case 'mysqli': - require_once $CFG->root . 'lib/db_mysqli.inc.php'; - $DB = DBMysqli::getInstance(); - break; - default: - die ('Unknow database driver: ' . $CFG->db_driver); - } + switch ($CFG->db_driver) { + case 'mysqli': + require_once $CFG->root . 'lib/db_mysqli.inc.php'; + $DB = DBMysqli::getInstance(); + break; + default: + die ('Unknow database driver: ' . $CFG->db_driver); + } } else { - die ('Missing config file'); + die ('Missing config file'); } ?>