From b66d953dd1f757b43b93aafe115bf838e386811b Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Tue, 11 Apr 2017 21:21:58 +0200 Subject: All requests to "favicon.ico" will now be redirected to the current template directory "rsrc/favicon.ico" (if the "favicon.ico" inside the root directory does not exist). --- index.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index 37dcce8..a96d423 100644 --- a/index.php +++ b/index.php @@ -82,6 +82,11 @@ Router::addRedirect('feed/(page|post)', Application::getURL('feed/$1/')); #=============================================================================== Router::addRedirect('search', Application::getURL('search/')); +#=============================================================================== +# REDIRECT: Favicon +#=============================================================================== +Router::addRedirect('favicon.ico', Application::getTemplateURL('rsrc/favicon.ico')); + #=============================================================================== # Execute router and route requests #=============================================================================== -- cgit v1.2.3