N°3317 - Add http headers

This commit is contained in:
Eric
2020-09-22 11:39:19 +02:00
parent 45e366745d
commit bef1832ac7
16 changed files with 45 additions and 14 deletions

View File

@@ -1074,6 +1074,7 @@ $operation = utils::ReadParam('operation', '');
$oPage = new iTopWebPage(Dict::S('UI:Schema:Title'));
$oPage->no_cache();
$oPage->add_header('X-Frame-Options: deny');
$oPage->SetBreadCrumbEntry('ui-tool-datamodel', Dict::S('Menu:DataModelMenu'), Dict::S('Menu:DataModelMenu+'), '', utils::GetAbsoluteUrlAppRoot().'images/wrench.png');
$oPage->add_script(