summaryrefslogtreecommitdiffstats
path: root/sample
diff options
context:
space:
mode:
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 */