aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index ec79b3dce..039dda1b8 100644
--- a/boot.php
+++ b/boot.php
@@ -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']);
}