Include Chunky in OPDS reader agents

This commit is contained in:
Mike Ferenduros 2015-11-01 01:00:46 +02:00
parent 922cc0113b
commit 099806215d
1 changed files with 1 additions and 1 deletions

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)/", $_SERVER['HTTP_USER_AGENT'])) {
if (preg_match("/(MantanoReader|FBReader|Stanza|Marvin|Aldiko|Moon+ Reader|Chunky)/", $_SERVER['HTTP_USER_AGENT'])) {
header("location: feed.php");
exit ();
}