Readd redirect login to top frame

This commit is contained in:
Michal Čihař
2011-02-02 10:09:37 +01:00
parent 728d5a1558
commit 5a2835ec86

View File

@@ -171,6 +171,14 @@ function PMA_auth()
require './libraries/header_meta_style.inc.php';
require './libraries/header_scripts.inc.php';
?>
<script type="text/javascript">
//<![CDATA[
// show login form in top frame
if (top != self) {
window.top.location.href=location;
}
//]]>
</script>
</head>
<body class="loginform">