Browse Source

org\.ebookdroid

master
Horus68 8 years ago
parent
commit
5f3f4765ec
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      index.php

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


Loading…
Cancel
Save