Add Marvin to the list of autodetected OPDS client

Cette révision appartient à :
Sébastien Lucas 2014-02-07 09:19:02 +01:00
Parent 6b9944796e
révision 7067c516f6
1 fichiers modifiés avec 1 ajouts et 1 suppressions

Voir le fichier

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