summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-26 20:31:30 +0400
committerAndrew Dolgov <[email protected]>2013-03-26 20:31:30 +0400
commita543e86d8587634f27556f1505d338f03af10246 (patch)
tree36941f3131af8a6c3691cdb1c54e574b44f3917d /index.php
parent4f281ec432fcf1cf2313aa720909420fd69b546b (diff)
add redirect to digest on smartphones if mobile is missing
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 3 insertions, 0 deletions
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;
}
}