diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-05 20:25:19 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-05 20:25:19 +0800 |
commit | 97e5db2272665daf9883e29b183a734daf9c79e6 (patch) | |
tree | 1d7d54d398c3580edfb7d2032d89bc0a7ee142a0 | |
parent | fbdd7cbf2c444d251ff0c6826ef952e681baaa2c (diff) | |
download | pttbbs-97e5db2272665daf9883e29b183a734daf9c79e6.tar pttbbs-97e5db2272665daf9883e29b183a734daf9c79e6.tar.gz pttbbs-97e5db2272665daf9883e29b183a734daf9c79e6.tar.bz2 pttbbs-97e5db2272665daf9883e29b183a734daf9c79e6.tar.lz pttbbs-97e5db2272665daf9883e29b183a734daf9c79e6.tar.xz pttbbs-97e5db2272665daf9883e29b183a734daf9c79e6.tar.zst pttbbs-97e5db2272665daf9883e29b183a734daf9c79e6.zip |
- enable board for artwork again
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3639 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/bbs.c | 12 | ||||
-rw-r--r-- | sample/pttbbs.conf | 3 |
2 files changed, 9 insertions, 6 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index e236fb13..49490e42 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -3252,9 +3252,9 @@ good_post(int ent, fileheader_t * fhdr, const char *direct) if (fhdr->filemode & FILE_DIGEST) { fhdr->filemode = (fhdr->filemode & ~FILE_DIGEST); if (!strcmp(currboard, GLOBAL_NOTE) || - // 2007/12/05: what is 'Artdsn' here? - // disable it unless someone need it... - // !strcmp(currboard, "Artdsn") || +#ifdef GLOBAL_ARTDSN + !strcmp(currboard, GLOBAL_ARTDSN) || +#endif !strcmp(currboard, GLOBAL_BUGREPORT) || !strcmp(currboard, GLOBAL_LAW) ) @@ -3298,9 +3298,9 @@ good_post(int ent, fileheader_t * fhdr, const char *direct) fhdr->filemode = (fhdr->filemode & ~FILE_MARKED) | FILE_DIGEST; if (!strcmp(currboard, GLOBAL_NOTE) || - // 2007/12/05: what is 'Artdsn' here? - // disable it unless someone need it... - // !strcmp(currboard, "Artdsn") || +#ifdef GLOBAL_ARTDSN + !strcmp(currboard, GLOBAL_ARTDSN) || +#endif !strcmp(currboard, GLOBAL_BUGREPORT) || !strcmp(currboard, GLOBAL_LAW) ) diff --git a/sample/pttbbs.conf b/sample/pttbbs.conf index a086184c..2e6031d4 100644 --- a/sample/pttbbs.conf +++ b/sample/pttbbs.conf @@ -46,6 +46,9 @@ /* *** 以下為定義時會多出功能的板名 *** */ +/* 若定義, 提供美工特別用板 */ +#define GLOBAL_ARTDSN "Artdsn" + /* 若定義, 則以此為版名提供全站文摘 */ #define GLOBAL_DIGEST BBSMNAME "Digest" |