diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-11-23 00:17:45 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-11-23 00:17:45 -0500 |
commit | dfce724c5df47616921203f03fdb7d56176befb9 (patch) | |
tree | 619e3e68c7ae6a02986c6c18d5d846d4ad2beae4 /web/html | |
parent | 6bd406c62cf1f128449ae446213d0578a0615a61 (diff) |
web/html/index.php: improve lookup table a bitpurweb/master1
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"); |