From 890dd47e135c29397a6006556e186061f2afcc67 Mon Sep 17 00:00:00 2001 From: piaip Date: Tue, 4 Dec 2007 17:38:19 +0000 Subject: - move hard-coded board names to pttbbs.conf. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3629 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- sample/pttbbs.conf | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) (limited to 'sample') diff --git a/sample/pttbbs.conf b/sample/pttbbs.conf index a3ed4c5c..a086184c 100644 --- a/sample/pttbbs.conf +++ b/sample/pttbbs.conf @@ -31,6 +31,29 @@ #define BBSUID 9999 #define BBSGID 99 +/* *** 以下為預設板名 *** */ + +/* 發生錯誤時建議的回報板名為此板 */ +#define GLOBAL_BUGREPORT BBSMNAME "Bug" +/* 法律訴訟的板 */ +#define GLOBAL_LAW BBSMNAME "Law" +/* 新手板 */ +#define GLOBAL_NEWBIE BBSMNAME "NewHand" +/* 動態看板的家 */ +#define GLOBAL_NOTE "Note" +/* 外國板 */ +#define GLOBAL_FOREIGN BBSMNAME "Foreign" + +/* *** 以下為定義時會多出功能的板名 *** */ + +/* 若定義, 則以此為版名提供全站文摘 */ +#define GLOBAL_DIGEST BBSMNAME "Digest" + +/* 若定義, 則全站所有五子棋/象棋棋譜都會紀錄在此板 */ +//#define GLOBAL_FIVECHESS_LOG BBSMNAME "Five" +//#define GLOBAL_CCHESS_LOG BBSMNAME "CChess" + + /* 最大編輯行數, 以防有惡意使用者 post 巨大文章 */ #define MAX_EDIT_LINE 2048 @@ -98,12 +121,6 @@ /* 若定義, 用一個奇怪的數字來檢查我的最愛和看板列表是否錯誤 */ #define MEM_CHECK 0x98761234 -/* 若定義, 則以此為版名提供全站文摘 */ -#define GLOBAL_DIGEST "PttDigest" - -/* 若定義, 則全站所有五子棋/象棋棋譜都會紀錄在此板 */ -//#define GLOBAL_FIVECHESS_LOG "PttFive" -//#define GLOBAL_CCHESS_LOG "PttCChess" /* 若定義, 則可在外部 (shmctl cmsignal) 要求將 mbbsd將 zapbuf 釋放掉. 會使用非正規的記憶體要求函式. (目前只在 FreeBSD上測試過) -- cgit v1.2.3