From 9c110e7b9b77a082dc3326e4fc58d5308d03668e Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 4 Mar 2021 08:20:16 +0000 Subject: revert isset --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot.php b/boot.php index 82ebea71a..f66a87242 100644 --- a/boot.php +++ b/boot.php @@ -2422,7 +2422,7 @@ function construct_page() { if(App::get_scheme() === 'https' && App::$config['system']['transport_security_header']) header("Strict-Transport-Security: max-age=31536000"); - if(isset(App::$config['system']['content_security_policy'])) { + if(App::$config['system']['content_security_policy']) { $cspsettings = [ 'script-src' => [ "'self'", "'unsafe-inline'", "'unsafe-eval'" ], 'style-src' => [ "'self'", "'unsafe-inline'" ], -- cgit v1.2.3