summaryrefslogtreecommitdiff
path: root/inc/db.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/db.php')
-rw-r--r--inc/db.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/inc/db.php b/inc/db.php
new file mode 100644
index 0000000..bb4b9f7
--- /dev/null
+++ b/inc/db.php
@@ -0,0 +1,10 @@
+<?php
+class bdb extends mysqli {
+
+ public function __construct () {
+ global $b_config;
+ parent::__construct($b_config['db_host'], $b_config['db_user'], $b_config['db_pass'], $b_config['db_name']);
+ }
+
+}
+?>