mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Merge branch 'ent-7139-clickjacking' into 'develop'
Avoiding clickjacking Closes pandora_enterprise#7139 See merge request artica/pandorafms!4013
This commit is contained in:
commit
128f67b058
@ -220,7 +220,8 @@ echo '<head>'."\n";
|
|||||||
// This starts the page head. In the callback function,
|
// This starts the page head. In the callback function,
|
||||||
// $page['head'] array content will be processed into the head.
|
// $page['head'] array content will be processed into the head.
|
||||||
ob_start('ui_process_page_head');
|
ob_start('ui_process_page_head');
|
||||||
|
// Avoid clickjacking.
|
||||||
|
header('X-Frame-Options: SAMEORIGIN');
|
||||||
// Enterprise main.
|
// Enterprise main.
|
||||||
enterprise_include_once('index.php');
|
enterprise_include_once('index.php');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user