mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
index.php: Remove routes for dropped images
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
9de633b1f2
commit
682de0ead7
1 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue