1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-16 19:44:00 +02:00

Introduce Adminer::headers method

This commit is contained in:
Jakub Vrana
2010-10-17 22:13:32 +02:00
parent 1cd506ee1e
commit 9db4259409
4 changed files with 13 additions and 1 deletions

View File

@@ -32,6 +32,13 @@ class Adminer {
return DB;
}
/** Headers to send before HTML output
* @return null
*/
function headers() {
header("X-Frame-Options: deny"); // ClickJacking protection in IE8, Safari 4, Chrome 2, Firefox NoScript plugin
}
/** Print login form
* @return null
*/