mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 18:14:07 +02:00
ClickJacking protection
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1150 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
function page_header($title, $error = "", $breadcrumb = array(), $title2 = "") {
|
||||
global $LANG, $VERSION, $adminer;
|
||||
header("Content-Type: text/html; charset=utf-8");
|
||||
header("X-Frame-Options: deny"); // ClickJacking protection in IE8, Safari 4, Chrome 2, NoScript plugin
|
||||
$title_all = $title . (strlen($title2) ? ": " . h($title2) : "");
|
||||
?>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
||||
|
Reference in New Issue
Block a user