1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-13 18:14:07 +02:00

Allow customizing CSP

This commit is contained in:
Jakub Vrana
2018-01-09 18:53:17 +01:00
parent 541c3c1fed
commit 4be72a2a0d
4 changed files with 36 additions and 1 deletions

View File

@@ -70,6 +70,13 @@ class Adminer {
function headers() {
}
/** Get Content Security Policy headers
* @return array directive name in key, allowed sources in value
*/
function csp() {
return csp();
}
/** Print HTML code inside <head>
* @return bool true to link adminer.css if exists
*/