Avoiding clickjacking
This commit is contained in:
parent
b62dc5c0c2
commit
2ef57919a1
|
@ -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…
Reference in New Issue