<?php
-/* vim: set ts=4 tw=0 sw=4 noet: */
+/* vim: set ts=4 tw=4 sw=4 noet: */
if (isset($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);
- }
+ 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');
}
?>