From 7227576b6901b7c0a2a24dcbc71d78464819ac66 Mon Sep 17 00:00:00 2001 From: Horus68 Date: Thu, 14 Jan 2016 09:51:54 +0000 Subject: [PATCH] Including HTTP_USER_AGENT for ebookDroid Ebookdroid https://play.google.com/store/apps/details?id=org.ebookdroid org.ebookdroid 2.3.5 --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 30988fc..e2e0d4d 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|AlReader|Reader|Dalvik|org.ebookdroid)/", $_SERVER['HTTP_USER_AGENT'])) { + if (preg_match("/(MantanoReader|FBReader|Stanza|Marvin|Aldiko|Moon+ Reader|Chunky|AlReader|org.ebookdroid)/", $_SERVER['HTTP_USER_AGENT'])) { header("location: feed.php"); exit (); }