From 42c3841157c30b7b9a265f21a9b2ab1a4c15b9e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Fri, 1 Mar 2013 17:48:25 +0100 Subject: [PATCH] Exit if we're redirecting to feed.php --- index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/index.php b/index.php index 32586a7..5eb5e08 100644 --- a/index.php +++ b/index.php @@ -18,6 +18,7 @@ // If we detect that an OPDS reader try to connect try to redirect to feed.php if (preg_match("/(MantanoReader|FBReader|Stanza|Aldiko|Moon+ Reader)/", $_SERVER['HTTP_USER_AGENT'])) { header("location: feed.php"); + exit (); } header ("Content-Type:application/xhtml+xml");