mirror of
https://github.com/vrana/adminer.git
synced 2025-08-18 20:31:19 +02:00
Allow own code in <head> (thanks to Nikolaj Vasilcuk)
This commit is contained in:
@@ -40,6 +40,13 @@ class Adminer {
|
||||
header("X-XSS-Protection: 0"); // prevents introducing XSS in IE8 by removing safe parts of the page
|
||||
}
|
||||
|
||||
/** Print HTML code inside <head>
|
||||
* @return bool true to link adminer.css if exists
|
||||
*/
|
||||
function head() {
|
||||
return true;
|
||||
}
|
||||
|
||||
/** Print login form
|
||||
* @return null
|
||||
*/
|
||||
|
Reference in New Issue
Block a user