summaryrefslogtreecommitdiffstats
path: root/sample
diff options
context:
space:
mode:
Diffstat (limited to 'sample')
-rw-r--r--sample/LocalVars.pm7
-rw-r--r--sample/pttbbs.conf4
2 files changed, 10 insertions, 1 deletions
diff --git a/sample/LocalVars.pm b/sample/LocalVars.pm
index 1f24872d..a2ad4ab5 100644
--- a/sample/LocalVars.pm
+++ b/sample/LocalVars.pm
@@ -5,7 +5,9 @@ require Exporter;
@EXPORT = qw/
$hostname $MYHOSTNAME $FQDN $SMTPSERVER
$BBSHOME $JOBSPOOL $TMP
- $TAR $LYNX $GREP/;
+ $TAR $LYNX $GREP
+ $BLOGDATA
+/;
# host
$hostname = 'ptt';
@@ -22,3 +24,6 @@ $TMP = '/tmp';
$TAR = '/usr/bin/tar';
$LYNX = '/usr/local/bin/lynx'; # /usr/ports/www/lynx
$GREP = '/usr/bin/grep';
+
+# blog
+$BLOGDATA = '/home/bbs/blog/data';
diff --git a/sample/pttbbs.conf b/sample/pttbbs.conf
index 67e696d9..b76d0ef4 100644
--- a/sample/pttbbs.conf
+++ b/sample/pttbbs.conf
@@ -88,6 +88,10 @@
須要加跑 shmctl timed 來提供時間 */
//#define OUTTA_TIMER
+/* 若定義, 則啟動 bbs中連至 BLOG 的 interface
+ 請參閱 pttbbs/blog/ */
+//#define BLOG
+
/* 前進站畫面 */
#define INSCREEN \
"前進站畫面 (請至 pttbbs.conf 修改您的前進站畫面)"