aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/f.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/public/f.php b/public/f.php
index 3be74776e..48b59e1f9 100644
--- a/public/f.php
+++ b/public/f.php
@@ -50,6 +50,8 @@ $txtMTime = @filemtime($txt);
if (($icoMTime == false) || ($txtMTime > $icoMTime)) {
if ($txtMTime == false) {
header('HTTP/1.1 404 Not Found');
+ header('Content-Type: image/gif');
+ readfile(PUBLIC_PATH . '/themes/icons/grey.gif'); //TODO: Better 404 favicon
die();
}
$url = file_get_contents($txt);