From: Andrew Dolgov Date: Tue, 26 Mar 2013 15:02:07 +0000 (+0400) Subject: add back redirection to mobile plugin X-Git-Tag: 1.7.6~266 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=4aac835562fbc43c06aaa01ccee4ebaf7578acad;p=tt-rss.git add back redirection to mobile plugin --- diff --git a/index.php b/index.php index 254ca57d..c6698793 100644 --- a/index.php +++ b/index.php @@ -35,13 +35,12 @@ 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();