index.php: Remove routes for dropped images

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Lukas Fleischer 2017-03-04 13:20:37 +01:00
parent 9de633b1f2
commit 682de0ead7

View file

@ -170,8 +170,6 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
case "/css/archnavbar/archlogo.png":
case "/css/archnavbar/aurlogo.png":
case "/images/favicon.ico":
case "/images/titlelogo.png":
case "/images/x.png":
header("Content-Type: image/png");
readfile("./$path");
break;
@ -181,7 +179,6 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
case "/images/pin.min.svg":
case "/images/unpin.min.svg":
case "/images/rss.svg":
case "/images/new.svg":
header("Content-Type: image/svg+xml");
readfile("./$path");
break;