]> git.datanom.net - qtadmin.git/blame - lib/db_factory.php
Fix bug in session handler
[qtadmin.git] / lib / db_factory.php
CommitLineData
6df4b805
MR
1<?php
2/* vim: set ts=4 tw=0 sw=4 noet: */
3if (isset($CFG->db_driver)) {
b95d1cdb
MR
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 }
6df4b805 12} else {
b95d1cdb 13 die ('Missing config file');
6df4b805
MR
14}
15?>
This page took 0.035422 seconds and 5 git commands to generate.