summaryrefslogtreecommitdiffstats
path: root/sample
diff options
context:
space:
mode:
Diffstat (limited to 'sample')
-rw-r--r--sample/pttbbs.conf6
-rw-r--r--sample/pttbbs_minimal.conf14
2 files changed, 6 insertions, 14 deletions
diff --git a/sample/pttbbs.conf b/sample/pttbbs.conf
index bfd002ff..e8f806f8 100644
--- a/sample/pttbbs.conf
+++ b/sample/pttbbs.conf
@@ -133,10 +133,8 @@
/* 若定義, 在使用者註冊之前, 會先顯示出該檔案, 經使用者確認後才能註冊 */
//#define HAVE_USERAGREEMENT "etc/UserAgreement"
-/* DBCS Aware: 讓游標不會跑到 DBCS trailing bytes 上
- * 但注意這會吃不少 CPU */
-//#define DBCSAWARE_GETDATA
-//#define DBCSAWARE_EDIT
+/* DBCS Aware: 讓游標不會跑到 DBCS trailing bytes 上 */
+//#define DBCSAWARE
/* 因為 DBCS 要先偵測,所以可以利用指定下面的時間來判斷使用者有否偵測過
* 請換成你真正上線的時間 (time_t) */
//#define DBCSAWARE_UPGRADE_STARTTIME (0)
diff --git a/sample/pttbbs_minimal.conf b/sample/pttbbs_minimal.conf
index 6f865a80..1536dfd0 100644
--- a/sample/pttbbs_minimal.conf
+++ b/sample/pttbbs_minimal.conf
@@ -3,21 +3,15 @@
#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 */
+#define REGCODE_MAGIC "changeMe" /* 註冊亂數種子 */
/* 下面是較常改的設定,不改也行 */
/* Performance Settings */
-#define MAX_USERS (150000)
-#define MAX_ACTIVE (4096)
-#define MAX_CPULOAD (50)
-#define MAX_FROM (512)
+#define MAX_USERS (15000) /* 最高註冊人數 */
+#define MAX_ACTIVE (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)
+#define MEM_CHECK (0) /* 設為 0 代表非測試中 */
/* vim:ft=c
*/