- 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);
+ }