diff options
author | Mario <mario@mariovavti.com> | 2021-03-04 09:52:54 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-03-04 10:53:29 +0100 |
commit | f1f1e56f870cd5375c6d6f99b464b305229fdc98 (patch) | |
tree | 5608a2b98312017fb5e79f3c8aaf319e9edc7db3 | |
parent | 5b7a10401f063241b6f8939fb1378478af515a9d (diff) | |
download | volse-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.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'" ], |