diff options
author | Mario <mario@mariovavti.com> | 2023-11-25 17:12:28 +0100 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-11-25 17:12:28 +0100 |
commit | 0fd8e02a884a2b040dca62ab5d9674db5f6a070b (patch) | |
tree | 586ee43f32f6f14368c09026f21dcd3244ea24b6 /boot.php | |
parent | 82e704ec5b107823c09f1387e9091adee53a4c2d (diff) | |
parent | 55c4bfb67009c598f25b1a8189604bfffa73dfbb (diff) | |
download | volse-hubzilla-8.8.tar.gz volse-hubzilla-8.8.tar.bz2 volse-hubzilla-8.8.zip |
Merge branch '8.8RC'8.8
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -60,10 +60,10 @@ require_once('include/bbcode.php'); require_once('include/items.php'); define('PLATFORM_NAME', 'hubzilla'); -define('STD_VERSION', '8.6.3'); +define('STD_VERSION', '8.8'); define('ZOT_REVISION', '6.0'); -define('DB_UPDATE_VERSION', 1258); +define('DB_UPDATE_VERSION', 1259); define('PROJECT_BASE', __DIR__); @@ -872,7 +872,8 @@ class App { date_default_timezone_set('UTC'); self::$config = ['system' => []]; - self::$page = []; + self::$page['htmlhead'] = ''; + self::$pager = []; self::$query_string = ''; @@ -942,14 +943,15 @@ class App { 'ttf' => 'font/ttf', 'woff' => 'font/woff', 'woff2' => 'font/woff2', - 'svg' => 'image/svg+xml' + 'svg' => 'image/svg+xml', + 'jsonld' => 'application/ld+json' ]; if (array_key_exists($filext, $serve_rawfiles) && file_exists(self::$cmd)) { $staticfilecwd = getcwd(); $staticfilerealpath = realpath(self::$cmd); if (strpos($staticfilerealpath, $staticfilecwd) !== 0) { - http_status_exit(404, 'not found'); + http_status_exit(404, 'not found', 1); } $staticfileetag = '"' . md5($staticfilerealpath . filemtime(self::$cmd)) . '"'; @@ -959,7 +961,7 @@ class App { // If HTTP_IF_NONE_MATCH is same as the generated ETag => content is the same as browser cache // So send a 304 Not Modified response header and exit if ($_SERVER['HTTP_IF_NONE_MATCH'] == $staticfileetag) { - http_status_exit(304, 'not modified'); + http_status_exit(304, 'not modified', 1); } } header("Content-type: " . $serve_rawfiles[$filext]); |