diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-05 00:32:01 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-05 00:32:01 +0800 |
commit | 6cbe8ceb129a4490a4f7a8163c20b6687a040358 (patch) | |
tree | ef9e1f87beccc92d4a2a7a5815383720d3b97050 /include/config.h | |
parent | 17fb0288af795a2e07498eb27c80aca7a9ebf5be (diff) | |
download | pttbbs-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 'include/config.h')
-rw-r--r-- | include/config.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h index 0af774a6..b6254a08 100644 --- a/include/config.h +++ b/include/config.h @@ -9,6 +9,18 @@ #define BAN_FILE "BAN" /* 關站通告檔 */ #define LOAD_FILE "/proc/loadavg" /* for Linux */ +#ifndef BBSUSER +#define BBSUSER "bbs" +#endif + +#ifndef BBSUID +#define BBSUID (9999) +#endif + +#ifndef BBSGID +#define BBSGID (99) +#endif + #ifndef RELAY_SERVER_IP /* 寄站外信的 mail server */ #define RELAY_SERVER_IP "127.0.0.1" #endif @@ -57,8 +69,16 @@ #define MAX_FROM (300) /* 最多故鄉數 */ #endif +#ifndef THREAD_SEARCH_RANGE +#define THREAD_SEARCH_RANGE (500) +#endif + #ifndef HAVE_JCEE /* 大學聯考查榜系統 */ -#define HAVE_JCEE 1 +#define HAVE_JCEE 0 +#endif + +#ifndef MEM_CHECK +#define MEM_CHECK 0x98761234 #endif #ifndef FOREIGN_REG_DAY /* 外籍使用者試用日期上限 */ |