From 4aac835562fbc43c06aaa01ccee4ebaf7578acad Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 26 Mar 2013 19:02:07 +0400 Subject: [PATCH] add back redirection to mobile plugin --- index.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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(); -- 2.39.2