summaryrefslogtreecommitdiff
path: root/cgi-bin/config.ini
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-07-10 22:01:22 +0800
committerchai <chaifix@163.com>2018-07-10 22:01:22 +0800
commit1275e68efa680e55fd29a377c9c58c59bb7f235e (patch)
treec585d7402af76ad0ccd295b218205708012addb4 /cgi-bin/config.ini
parent5d323b7430c446ceb81c2de52d9a1d28c7f34e52 (diff)
更新
Diffstat (limited to 'cgi-bin/config.ini')
-rw-r--r--cgi-bin/config.ini21
1 files changed, 8 insertions, 13 deletions
diff --git a/cgi-bin/config.ini b/cgi-bin/config.ini
index 990c3ac..1a5a2f4 100644
--- a/cgi-bin/config.ini
+++ b/cgi-bin/config.ini
@@ -1,18 +1,13 @@
[route]
-#需要配置apache
-#根路由
-url="/chai/whisper/"
-#静态根目录
-static_root="/html/"
-imgs_dir="/html/imgs/"
-#html模板目录
-templ_dir="template/"
+url=/cgi-bin/
+static=/html/
+images=/html/imgs/
+templates=template/
[database]
-user="root"
-passwd="root"
-host="localhost"
+user=root
+passwd=root
+host=localhost
port=3306
-database="whisper"
+db=whisper
[config]
-#每页显示whisper条数
whisper_count=20