Permalink
Browse files

Display none only if protection is enabled

  • Loading branch information...
1 parent 66fe475 commit da4042fb6c4365dc8187765c3bf525043687c66f @nijel nijel committed Jul 30, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 libraries/Header.class.php
@@ -531,7 +531,9 @@ private function _getMetaTags()
$retval = '<meta charset="utf-8" />';
$retval .= '<meta name="robots" content="noindex,nofollow" />';
$retval .= '<meta http-equiv="X-UA-Compatible" content="IE=Edge">';
- $retval .= '<style>html{display: none;}</style>';
+ if (! $GLOBALS['cfg']['AllowThirdPartyFraming']) {
+ $retval .= '<style>html{display: none;}</style>';
+ }
return $retval;
}

0 comments on commit da4042f

Please sign in to comment.