summaryrefslogtreecommitdiff
path: root/config.default.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-02-05 11:54:27 -0500
committerFrederic Guillot <fred@kanboard.net>2017-02-05 11:54:27 -0500
commitd0a1ed9227a5166aa56d37ccea142cdb1e0ae082 (patch)
treeccdf94fcd4befcf167a4f7b6fd62d0cb7f3bc5b4 /config.default.php
parenta2e2ab8997cc57042aadbd507109acdbe0475c2d (diff)
Add configuration parameter to disable email configuration from user interface
Diffstat (limited to 'config.default.php')
-rw-r--r--config.default.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.default.php b/config.default.php
index 9b55295f..1f08fbad 100644
--- a/config.default.php
+++ b/config.default.php
@@ -34,7 +34,10 @@ define('CACHE_DIR', DATA_DIR.DIRECTORY_SEPARATOR.'cache');
// Folder for uploaded files (must be writeable by the web server user)
define('FILES_DIR', DATA_DIR.DIRECTORY_SEPARATOR.'files');
-// E-mail address for the "From" header (notifications)
+// Enable/disable email configuration from the user interface
+define('MAIL_CONFIGURATION', true);
+
+// E-mail address used for the "From" header (notifications)
define('MAIL_FROM', 'replace-me@kanboard.local');
// Mail transport available: "smtp", "sendmail", "mail" (PHP mail function), "postmark", "mailgun", "sendgrid"