Skip to content

Commit da4042f

Browse files
committed
Display none only if protection is enabled
1 parent 66fe475 commit da4042f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: libraries/Header.class.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,9 @@ private function _getMetaTags()
531531
$retval = '<meta charset="utf-8" />';
532532
$retval .= '<meta name="robots" content="noindex,nofollow" />';
533533
$retval .= '<meta http-equiv="X-UA-Compatible" content="IE=Edge">';
534-
$retval .= '<style>html{display: none;}</style>';
534+
if (! $GLOBALS['cfg']['AllowThirdPartyFraming']) {
535+
$retval .= '<style>html{display: none;}</style>';
536+
}
535537
return $retval;
536538
}
537539

0 commit comments

Comments
 (0)