summaryrefslogtreecommitdiff
path: root/app/constants.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-03-21 18:25:35 -0400
committerFrederic Guillot <fred@kanboard.net>2015-03-21 18:25:35 -0400
commitbcb39ad4db0f4c1d9bf35437852ee0b74e1680ce (patch)
tree36411c1541243846c963b89a4d104829c23398ad /app/constants.php
parented54d852dbd07c757c2a558bda71a2dab6981425 (diff)
Add option to enable/disable iframe inclusion 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 63902b4d..82d26f2c 100644
--- a/app/constants.php
+++ b/app/constants.php
@@ -68,6 +68,9 @@ defined('MAIL_SENDMAIL_COMMAND') or define('MAIL_SENDMAIL_COMMAND', '/usr/sbin/s
// Enable or disable "Strict-Transport-Security" HTTP header
defined('ENABLE_HSTS') or define('ENABLE_HSTS', true);
+// Enable or disable "X-Frame-Options: DENY" HTTP header
+defined('ENABLE_XFRAME') or define('ENABLE_XFRAME', true);
+
// Default files directory
defined('FILES_DIR') or define('FILES_DIR', 'data/files/');