summaryrefslogtreecommitdiffstats
path: root/sample
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-05 00:32:01 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-05 00:32:01 +0800
commit6cbe8ceb129a4490a4f7a8163c20b6687a040358 (patch)
treeef9e1f87beccc92d4a2a7a5815383720d3b97050 /sample
parent17fb0288af795a2e07498eb27c80aca7a9ebf5be (diff)
downloadpttbbs-6cbe8ceb129a4490a4f7a8163c20b6687a040358.tar
pttbbs-6cbe8ceb129a4490a4f7a8163c20b6687a040358.tar.gz
pttbbs-6cbe8ceb129a4490a4f7a8163c20b6687a040358.tar.bz2
pttbbs-6cbe8ceb129a4490a4f7a8163c20b6687a040358.tar.lz
pttbbs-6cbe8ceb129a4490a4f7a8163c20b6687a040358.tar.xz
pttbbs-6cbe8ceb129a4490a4f7a8163c20b6687a040358.tar.zst
pttbbs-6cbe8ceb129a4490a4f7a8163c20b6687a040358.zip
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". <recent updates always put new settings in sample/* and no one updates only in "local" files> 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
Diffstat (limited to 'sample')
-rw-r--r--sample/pttbbs.conf3
-rw-r--r--sample/pttbbs_minimal.conf23
2 files changed, 26 insertions, 0 deletions
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
+ */