diff options
Diffstat (limited to 'web/html')
-rw-r--r-- | web/html/index.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/web/html/index.php b/web/html/index.php index b771c47..79b4207 100644 --- a/web/html/index.php +++ b/web/html/index.php @@ -157,17 +157,13 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) { header("Content-Type: text/css"); readfile("./$path"); break; - case "/images/new.png": - header("Content-Type: image/png"); - readfile("./$path"); - break; case "/css/archnavbar/archlogo.png": case "/css/archnavbar/aurlogo.png": case "/images/AUR-logo-80.png": case "/images/AUR-logo.png": - case "/images/favicon.ico": + case "/images/favicon.ico": /* yes, it is a PNG, despite the extension */ case "/images/feed-icon-14x14.png": - case "/images/titlelogo.png": + case "/images/new.png": case "/images/x.png": header("Content-Type: image/png"); readfile("./$path"); |