Add Marvin to the list of autodetected OPDS client
This commit is contained in:
parent
6b9944796e
commit
7067c516f6
|
@ -19,7 +19,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|Aldiko|Moon+ Reader)/", $_SERVER['HTTP_USER_AGENT'])) {
|
||||
if (preg_match("/(MantanoReader|FBReader|Stanza|Marvin|Aldiko|Moon+ Reader)/", $_SERVER['HTTP_USER_AGENT'])) {
|
||||
header("location: feed.php");
|
||||
exit ();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue