summaryrefslogtreecommitdiff
path: root/app/constants.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-09-20 15:35:17 +0200
committerFrédéric Guillot <fred@kanboard.net>2014-09-20 15:35:17 +0200
commiteeb4688dcc7caafeaa020a3cd9d78d18aea30353 (patch)
tree80887432a5425cbba01d40e4add7a4dc1125583d /app/constants.php
parentde225f401d036c153a4dfe36e7936b877e77d6d5 (diff)
Add configuration option to enable/disable 'Strict-Transport-Security' HTTP header
Diffstat (limited to 'app/constants.php')
-rw-r--r--app/constants.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/constants.php b/app/constants.php
index d52ce2be..777e6f0e 100644
--- a/app/constants.php
+++ b/app/constants.php
@@ -68,3 +68,6 @@ defined('MAIL_SMTP_USERNAME') or define('MAIL_SMTP_USERNAME', '');
defined('MAIL_SMTP_PASSWORD') or define('MAIL_SMTP_PASSWORD', '');
defined('MAIL_SMTP_ENCRYPTION') or define('MAIL_SMTP_ENCRYPTION', null);
defined('MAIL_SENDMAIL_COMMAND') or define('MAIL_SENDMAIL_COMMAND', '/usr/sbin/sendmail -bs');
+
+// Enable or disable "Strict-Transport-Security" HTTP header
+defined('ENABLE_HSTS') or define('ENABLE_HSTS', true);