org\.ebookdroid

This commit is contained in:
Horus68 2016-01-14 13:47:00 +00:00
parent 7227576b69
commit 5f3f4765ec

View file

@ -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|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 ();
}