From 0d1506a0781aa43d8b1cb55cf075481ed5f99d7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Tue, 5 Feb 2013 20:14:58 +0100 Subject: [PATCH] Fix other type of Kobo eReader (Glo, Mini) detection --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 01cb8cd..b03d262 100644 --- a/index.php +++ b/index.php @@ -27,7 +27,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|Kindle\/3.0)/", $_SERVER['HTTP_USER_AGENT'])) { $isEink = 1; /* Test Sony PRS-T1 Ereader.