[aur-dev] [PATCH] index.php: Remove routes for dropped images
Lukas Fleischer
lfleischer at archlinux.org
Sat Mar 4 12:21:02 UTC 2017
Signed-off-by: Lukas Fleischer <lfleischer at archlinux.org>
---
web/html/index.php | 3 ---
1 file changed, 3 deletions(-)
diff --git a/web/html/index.php b/web/html/index.php
index 78ab6ad..364d399 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -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;
--
2.12.0
More information about the aur-dev
mailing list