Add Marvin to the list of autodetected OPDS client

This commit is contained in:
Sébastien Lucas 2014-02-07 09:19:02 +01:00
parent 6b9944796e
commit 7067c516f6

View file

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