]> git.wh0rd.org - tt-rss.git/commitdiff
add back redirection to mobile plugin
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 26 Mar 2013 15:02:07 +0000 (19:02 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 26 Mar 2013 15:02:07 +0000 (19:02 +0400)
index.php

index 254ca57d43fd4ec75efcec7e117d76b8bc7d073f..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()) {
-                       header('Location: mobile/index.php');
+               } else if ($mobile->isMobile() && $pluginhost->get_plugin("mobile")) {
+                       header('Location: backend.php?op=mobile');
                        exit;
                }
        }
 
-
        login_sequence($link);
 
        no_cache_incantation();