Add option to enable/disable iframe inclusion http header

This commit is contained in:
Frederic Guillot
2015-03-21 18:25:35 -04:00
parent ed54d852db
commit bcb39ad4db
3 changed files with 7 additions and 1 deletions

View File

@@ -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();
}