From a543e86d8587634f27556f1505d338f03af10246 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 26 Mar 2013 20:31:30 +0400 Subject: [PATCH] add redirect to digest on smartphones if mobile is missing --- index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.php b/index.php index c6698793f..8230a49b6 100644 --- a/index.php +++ b/index.php @@ -38,6 +38,9 @@ } else if ($mobile->isMobile() && $pluginhost->get_plugin("mobile")) { header('Location: backend.php?op=mobile'); exit; + } else if ($mobile->isMobile() && $pluginhost->get_plugin("digest")) { + header('Location: backend.php?op=digest'); + exit; } }