From 74770f5a02e43f55cf5368dd4260ed8d7cdd0c0a Mon Sep 17 00:00:00 2001 From: Horus68 Date: Tue, 12 Jan 2016 15:29:12 +0000 Subject: [PATCH] AlReader HTTP_USER_AGENT Including AlReader HTTP_USER_AGENT URL: AlReader - https://play.google.com/store/apps/details?id=com.neverland.alreader --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 72df9ee..c5215a6 100644 --- a/index.php +++ b/index.php @@ -20,7 +20,7 @@ require_once ("resources/doT-php/doT.php"); // If we detect that an OPDS reader try to connect try to redirect to feed.php - if (preg_match("/(MantanoReader|FBReader|Stanza|Marvin|Aldiko|Moon+ Reader|Chunky)/", $_SERVER['HTTP_USER_AGENT'])) { + if (preg_match("/(MantanoReader|FBReader|Stanza|Marvin|Aldiko|Moon+ Reader|Chunky|AlReader)/", $_SERVER['HTTP_USER_AGENT'])) { header("location: feed.php"); exit (); }