]> git.wh0rd.org - tt-rss.git/commitdiff
Revert "Removes redirection to mobile/"
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 26 Mar 2013 15:01:14 +0000 (19:01 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 26 Mar 2013 15:01:14 +0000 (19:01 +0400)
This reverts commit a4d4bceb978e828aa21950c8eb2b1bd2be79726b.

index.php

index c634235abd99688aaabd29ea136ea716ae989368..254ca57d43fd4ec75efcec7e117d76b8bc7d073f 100644 (file)
--- a/index.php
+++ b/index.php
@@ -35,6 +35,9 @@
                if ($mobile->isTablet() && $pluginhost->get_plugin("digest")) {
                        header('Location: backend.php?op=digest');
                        exit;
+               } else if ($mobile->isMobile()) {
+                       header('Location: mobile/index.php');
+                       exit;
                }
        }