diff options
| author | 2013-12-01 23:05:04 +0100 | |
|---|---|---|
| committer | 2013-12-01 23:05:04 +0100 | |
| commit | 0e9ed2a40858ce89ddba4a6a6544dc5c277dd5a6 (patch) | |
| tree | cf55028a33b17fec69e956bd5fe57afbd509831c | |
| parent | b0cbc6fe5da527aa2a4fedf4b138264ff983d159 (diff) | |
Favicons : image pour 404
https://github.com/marienfressinaud/FreshRSS/issues/228
https://github.com/marienfressinaud/FreshRSS/issues/290
| -rw-r--r-- | public/f.php | 2 |
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); |
