From 6cbe8ceb129a4490a4f7a8163c20b6687a040358 Mon Sep 17 00:00:00 2001 From: piaip Date: Thu, 4 Aug 2005 16:32:01 +0000 Subject: Overrides r2977. PLEASE DO NOT USE include/pttbbs.conf. The better way is to write default values in include/config.h and then make an entry in "sample/pttbbs.conf". A new file of sample/pttbbs_minimal.conf is added to make things clear. And DO NOT reveal magic numbers to files in repository. We have to change RECODE_MAGIC now... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2983 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- sample/pttbbs.conf | 3 +++ sample/pttbbs_minimal.conf | 23 +++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 sample/pttbbs_minimal.conf (limited to 'sample') diff --git a/sample/pttbbs.conf b/sample/pttbbs.conf index 48183613..7eca32fb 100644 --- a/sample/pttbbs.conf +++ b/sample/pttbbs.conf @@ -179,6 +179,9 @@ /* 在轉信時附上的時區. 若在台灣, 中國大陸等地, 用預設的即可. */ //#define INNTIMEZONE "+0800 (CST)" +/* 大學聯考查榜系統 */ +//#define HAVE_JCEE (1) + /* 開啟小天使小主人功能 */ //#define PLAY_ANGEL diff --git a/sample/pttbbs_minimal.conf b/sample/pttbbs_minimal.conf new file mode 100644 index 00000000..6f865a80 --- /dev/null +++ b/sample/pttbbs_minimal.conf @@ -0,0 +1,23 @@ +/* Primary Settings MUST BE CHANGED */ +#define BBSNAME "批踢踢實業坊" /* 中文站名 */ +#define BBSENAME "PTT" /* 英文站名 */ +#define MYHOSTNAME "ptt.csie.ntu.edu.tw" /* 網路位址 */ +#define MYIP "140.112.30.142" /* IP位址 */ +#define REGCODE_MAGIC "pttbbs" /* 註冊亂數種子 */ +#define RELAY_SERVER_IP "140.112.30.143" /* 寄站外信的 server */ + +/* 下面是較常改的設定,不改也行 */ +/* Performance Settings */ +#define MAX_USERS (150000) +#define MAX_ACTIVE (4096) +#define MAX_CPULOAD (50) +#define MAX_FROM (512) + +/* Misc Settings */ +#define MEM_CHECK (0) +#define TITLE_COLOR "\33[0;1;37;44m" +#define MAX_POST_MONEY (1000) +#define MAX_CHICKEN_MONEY (10000) + +/* vim:ft=c + */ -- cgit v1.2.3