aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-03-04 09:52:54 +0000
committerMario <mario@mariovavti.com>2021-03-04 10:53:29 +0100
commitf1f1e56f870cd5375c6d6f99b464b305229fdc98 (patch)
tree5608a2b98312017fb5e79f3c8aaf319e9edc7db3
parent5b7a10401f063241b6f8939fb1378478af515a9d (diff)
downloadvolse-hubzilla-f1f1e56f870cd5375c6d6f99b464b305229fdc98.tar.gz
volse-hubzilla-f1f1e56f870cd5375c6d6f99b464b305229fdc98.tar.bz2
volse-hubzilla-f1f1e56f870cd5375c6d6f99b464b305229fdc98.zip
revert revert isset()
(cherry picked from commit 33e4b6db7265661c59c21d8244e1fae42974c6af)
-rw-r--r--boot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 664e35732..e508b0d0f 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(App::$config['system']['content_security_policy']) {
+ if(isset(App::$config['system']['content_security_policy'])) {
$cspsettings = [
'script-src' => [ "'self'", "'unsafe-inline'", "'unsafe-eval'" ],
'style-src' => [ "'self'", "'unsafe-inline'" ],