diff options
Diffstat (limited to 'p/f.php')
| -rw-r--r-- | p/f.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -21,7 +21,7 @@ function show_default_favicon(int $cacheSeconds = 3600): void { $default_mtime = @filemtime(DEFAULT_FAVICON) ?: 0; if ($no_cache || !httpConditional($default_mtime, $cacheSeconds, 2)) { header('Content-Type: image/x-icon'); - header('Content-Disposition: inline; filename="default_favicon.ico"'); + header('Content-Disposition: attachment; filename="default_favicon.ico"'); readfile(DEFAULT_FAVICON); } } @@ -66,7 +66,7 @@ if (($ico_mtime == false || $ico_mtime < $txt_mtime || ($ico_mtime < time() - (r if ($no_cache || !httpConditional($ico_mtime, rand(14, 21) * 86400, 2)) { $ico_content_type = contentType($ico); header('Content-Type: ' . $ico_content_type); - header('Content-Disposition: inline; filename="' . $id . '.ico"'); + header('Content-Disposition: attachment; filename="' . $id . '.ico"'); if (!$no_cache && isset($_GET['t'])) { header('Cache-Control: immutable'); } |
