Fix a warning
--HG-- extra : rebase_source : 1a3a44f105d0fd18735cd42aab5f0284ec1937cc
This commit is contained in:
parent
4c9e8c67d0
commit
c823715c83
|
@ -25,7 +25,7 @@
|
|||
/* Test to see if pages are opened on an Eink screen
|
||||
* First test Kindle or Kobo Touch */
|
||||
|
||||
if (preg_match("/(Kobo Touch|Kindle\/3.0)", $_SERVER['HTTP_USER_AGENT'])) {
|
||||
if (preg_match("/(Kobo Touch|Kindle\/3.0)/", $_SERVER['HTTP_USER_AGENT'])) {
|
||||
$isEink = 1;
|
||||
|
||||
/* Test Sony PRS-T1 Ereader.
|
||||
|
|
Loading…
Reference in a new issue