diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-03-21 18:25:35 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-03-21 18:25:35 -0400 |
commit | bcb39ad4db0f4c1d9bf35437852ee0b74e1680ce (patch) | |
tree | 36411c1541243846c963b89a4d104829c23398ad /app/Controller | |
parent | ed54d852dbd07c757c2a558bda71a2dab6981425 (diff) |
Add option to enable/disable iframe inclusion http header
Diffstat (limited to 'app/Controller')
-rw-r--r-- | app/Controller/Base.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Base.php b/app/Controller/Base.php index a4e94343..6420e0ee 100644 --- a/app/Controller/Base.php +++ b/app/Controller/Base.php @@ -153,7 +153,7 @@ abstract class Base $this->response->xss(); // Allow the public board iframe inclusion - if ($action !== 'readonly') { + if (ENABLE_XFRAME && $action !== 'readonly') { $this->response->xframe(); } |