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:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user