From 1275e68efa680e55fd29a377c9c58c59bb7f235e Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 10 Jul 2018 22:01:22 +0800 Subject: =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cgi-bin/config.ini | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to 'cgi-bin/config.ini') 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 -- cgit v1.1-26-g67d0