]> git.wh0rd.org Git - tt-rss.git/commitdiff
add redirect to digest on smartphones if mobile is missing
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 26 Mar 2013 16:31:30 +0000 (20:31 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 26 Mar 2013 16:31:30 +0000 (20:31 +0400)
index.php

index c6698793f0184f95a0c63329188d34eeea1acdcb..8230a49b68588880ddf2aa3454a0bdcf1ae2ffcc 100644 (file)
--- 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;
                }
        }