diff options
author | nobody <nobody@zotlabs.com> | 2021-04-16 04:42:45 -0700 |
---|---|---|
committer | nobody <nobody@zotlabs.com> | 2021-04-16 04:42:45 -0700 |
commit | a96345401f47be71a6eef531e204c0e25b792a16 (patch) | |
tree | 4afde386815934f9f395353b0d1d38cfd7f2592c /boot.php | |
parent | 9359fc065c72243bd85f0fc3db842976f07183cc (diff) | |
parent | 7ccd7b439f5a029384ecb28911a0df6f6d658231 (diff) | |
download | volse-hubzilla-a96345401f47be71a6eef531e204c0e25b792a16.tar.gz volse-hubzilla-a96345401f47be71a6eef531e204c0e25b792a16.tar.bz2 volse-hubzilla-a96345401f47be71a6eef531e204c0e25b792a16.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -52,10 +52,10 @@ require_once('include/attach.php'); require_once('include/bbcode.php'); define ( 'PLATFORM_NAME', 'hubzilla' ); -define ( 'STD_VERSION', '5.5.3' ); +define ( 'STD_VERSION', '5.5.4' ); define ( 'ZOT_REVISION', '6.0' ); -define ( 'DB_UPDATE_VERSION', 1243 ); +define ( 'DB_UPDATE_VERSION', 1244 ); define ( 'PROJECT_BASE', __DIR__ ); @@ -2460,6 +2460,14 @@ function construct_page() { header("X-Content-Type-Options: nosniff"); } + if (isset(App::$config['system']['perm_policy_header']) && App::$config['system']['perm_policy_header']) { + header("Permissions-Policy: " . App::$config['system']['perm_policy_header']); + } + else { + // opt-out this site from federated browser surveillance + header("Permissions-Policy: interest-cohort=()"); + } + if(isset(App::$config['system']['public_key_pins'])) { header("Public-Key-Pins: " . App::$config['system']['public_key_pins']); } |