AlReader HTTP_USER_AGENT
Including AlReader HTTP_USER_AGENT URL: AlReader - https://play.google.com/store/apps/details?id=com.neverland.alreader
This commit is contained in:
parent
6b5fdb4b26
commit
74770f5a02
|
@ -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 ();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue