index.php: Remove routes for dropped images
diff mbox

Message ID 20170304122102.13053-1-lfleischer@archlinux.org
State Accepted, archived
Headers show

Commit Message

Lukas Fleischer March 4, 2017, 12:21 p.m. UTC
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
---
 web/html/index.php | 3 ---
 1 file changed, 3 deletions(-)

Patch
diff mbox

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;