summaryrefslogtreecommitdiffstats
path: root/sample
diff options
context:
space:
mode:
authormhsin <mhsin@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-01-07 22:11:46 +0800
committermhsin <mhsin@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-01-07 22:11:46 +0800
commit852373458e0f309276ad3a32624aabb3b41ec6a7 (patch)
tree822dc04329f4cc13278278b0d7bf24a334f462f1 /sample
parent66b4690b4678e6d2e19aa6838ae6436b57b9de11 (diff)
downloadpttbbs-852373458e0f309276ad3a32624aabb3b41ec6a7.tar
pttbbs-852373458e0f309276ad3a32624aabb3b41ec6a7.tar.gz
pttbbs-852373458e0f309276ad3a32624aabb3b41ec6a7.tar.bz2
pttbbs-852373458e0f309276ad3a32624aabb3b41ec6a7.tar.lz
pttbbs-852373458e0f309276ad3a32624aabb3b41ec6a7.tar.xz
pttbbs-852373458e0f309276ad3a32624aabb3b41ec6a7.tar.zst
pttbbs-852373458e0f309276ad3a32624aabb3b41ec6a7.zip
Add support for querying article URL.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4424 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'sample')
-rw-r--r--sample/pttbbs.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/sample/pttbbs.conf b/sample/pttbbs.conf
index 31984f87..866afa11 100644
--- a/sample/pttbbs.conf
+++ b/sample/pttbbs.conf
@@ -6,6 +6,15 @@
#define MYHOSTNAME "ptt2.cc" /* 網路位址 */
#define MYIP "140.112.30.143" /* IP位址 */
+/* 定義是否查詢文章的 web 版 URL,及 URL 用的 hostname/prefix */
+#define QUERY_ARTICLE_URL /* 是否提供查詢文章 URL */
+#define URL_PREFIX "http://www.ptt.cc/bbs/" /* URL prefix */
+ /*
+ http://www.ptt.cc/bbs/SYSOP/M.1197864962.A.476.html
+ ^^^^^^^^^^^^^^^^^^^^^^
+ 這個部分
+ */
+
/* 下列資訊為系統效能,預設值為普通小系站規模 */
/* 最多註冊人數, 每個人會用掉 21 bytes 的 shared-memory */