Skip to content

Commit

Permalink
Display none only if protection is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Jul 30, 2013
1 parent 66fe475 commit da4042f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libraries/Header.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit da4042f

Please sign in to comment.