]> git.datanom.net - qtadmin.git/blob - lib/db_factory.php
Move footer to bottom
[qtadmin.git] / lib / db_factory.php
1 <?php
2 /* vim: set ts=4 tw=0 sw=4 noet: */
3 if (isset($CFG->db_driver)) {
4 switch ($CFG->db_driver) {
5 case 'mysqli':
6 require_once $CFG->root . 'lib/db_mysqli.inc.php';
7 $DB = DBMysqli::getInstance();
8 break;
9 default:
10 die ('Unknow database driver: ' . $CFG->db_driver);
11 }
12 } else {
13 die ('Missing config file');
14 }
15 ?>
This page took 0.089442 seconds and 6 git commands to generate.