]> git.wh0rd.org - tt-rss.git/blobdiff - index.php
add back redirection to mobile plugin
[tt-rss.git] / index.php
index c634235abd99688aaabd29ea136ea716ae989368..c6698793f0184f95a0c63329188d34eeea1acdcb 100644 (file)
--- a/index.php
+++ b/index.php
                if ($mobile->isTablet() && $pluginhost->get_plugin("digest")) {
                        header('Location: backend.php?op=digest');
                        exit;
+               } else if ($mobile->isMobile() && $pluginhost->get_plugin("mobile")) {
+                       header('Location: backend.php?op=mobile');
+                       exit;
                }
        }
 
-
        login_sequence($link);
 
        no_cache_incantation();