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.
This commit is contained in:
Jeffery To
2009-08-07 01:55:31 +08:00
parent c261a645a1
commit 5f293f0e2f
5 changed files with 25 additions and 8 deletions

View File

@@ -164,6 +164,9 @@ $config['sphinx']['port'] = 3312;
// $config['memcached']['server'] = 'localhost';
// $config['memcached']['port'] = 11211;
// Disable post-by-email
// $config['emailpost']['enabled'] = false;
// Disable SMS
// $config['sms']['enabled'] = false;