summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2009-08-07 01:55:31 +0800
committerJeffery To <jeffery.to@gmail.com>2009-08-07 01:55:31 +0800
commit5f293f0e2fd0561caa940c9799fad623ce953a60 (patch)
tree264fe223837d2235f8c64570e1b57922685ab950 /lib
parentc261a645a16fc0498e338cef4144b276a481646c (diff)
Added configuration option to disable post-by-email.
This hides the relevant settings from the email settings page and prevents maildaemon.php from processing email if the option is disabled.
Diffstat (limited to 'lib')
-rw-r--r--lib/common.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/common.php b/lib/common.php
index 12a7ac449..6d20534ae 100644
--- a/lib/common.php
+++ b/lib/common.php
@@ -183,6 +183,8 @@ $config =
array('piddir' => '/var/run',
'user' => false,
'group' => false),
+ 'emailpost' =>
+ array('enabled' => true),
'sms' =>
array('enabled' => false),
'twitter' =>