summaryrefslogtreecommitdiff
path: root/db.php
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2022-03-22 21:17:14 +0800
committerchai <chaifix@163.com>2022-03-22 21:17:14 +0800
commit9717df0608a46cb71fd696c70a25e6226a1e3c16 (patch)
tree288f1da91ace3c7f2ccc87b5ff4fa8d8af67a486 /db.php
parentbb742acdd35fe84bb8ef2ff9007d01fcc902c682 (diff)
* db config
Diffstat (limited to 'db.php')
-rw-r--r--db.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/db.php b/db.php
new file mode 100644
index 0000000..482b0ff
--- /dev/null
+++ b/db.php
@@ -0,0 +1,13 @@
+<?php
+
+class DBConfig
+{
+ // 数据库连接
+ public static $servername = "localhost";
+ public static $username = "wod_dba";
+ public static $password = "";
+ public static $db_name = "musik";
+
+}
+
+?> \ No newline at end of file