mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
#8111 Fixed X-Frame-Options
This commit is contained in:
parent
704403fd52
commit
c8a11543e8
@ -1,6 +1,9 @@
|
|||||||
# pandora disable listing
|
# pandora disable listing
|
||||||
Options -Indexes
|
Options -Indexes
|
||||||
|
|
||||||
|
# Avoid clickjacking
|
||||||
|
Header always append X-Frame-Options SAMEORIGIN
|
||||||
|
|
||||||
<Files ~ "\.log$">
|
<Files ~ "\.log$">
|
||||||
Order Allow,Deny
|
Order Allow,Deny
|
||||||
Deny from All
|
Deny from All
|
||||||
|
@ -220,8 +220,6 @@ 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