summaryrefslogtreecommitdiffstats
path: root/mbbsd/admin.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-11 13:30:07 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-11 13:30:07 +0800
commit5588e96b39c1b7d8df72b9d370637de303af44fe (patch)
tree95ea93bffc75499f5d9700e1d9d3b170af1e6282 /mbbsd/admin.c
parentdbebf26d241a20a2869fb530fb3d906e8e606690 (diff)
downloadpttbbs-5588e96b39c1b7d8df72b9d370637de303af44fe.tar
pttbbs-5588e96b39c1b7d8df72b9d370637de303af44fe.tar.gz
pttbbs-5588e96b39c1b7d8df72b9d370637de303af44fe.tar.bz2
pttbbs-5588e96b39c1b7d8df72b9d370637de303af44fe.tar.lz
pttbbs-5588e96b39c1b7d8df72b9d370637de303af44fe.tar.xz
pttbbs-5588e96b39c1b7d8df72b9d370637de303af44fe.tar.zst
pttbbs-5588e96b39c1b7d8df72b9d370637de303af44fe.zip
* make port binding to standalone configuration fine (etc/bindports.conf)
* refine some file names git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4560 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/admin.c')
-rw-r--r--mbbsd/admin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c
index 84bf25ea..90676799 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -762,11 +762,11 @@ x_file(void)
char buf[PATHLEN];
FILE *fp = NULL;
- fp = fopen("etc/editable", "rt");
+ fp = fopen(FN_CONF_EDITABLE, "rt");
if (!fp)
{
// you can find a sample in sample/etc/editable
- vmsg("未設定可編輯檔案列表[etc/editable],請洽系統站長。");
+ vmsgf("未設定可編輯檔案列表[%s],請洽系統站長。", FN_CONF_EDITABLE);
return 0;
}