summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-26 19:02:07 +0400
committerAndrew Dolgov <[email protected]>2013-03-26 19:02:07 +0400
commit4aac835562fbc43c06aaa01ccee4ebaf7578acad (patch)
treedbe2a12c2dbf7364b985a5bf3eacd288e3d3b338 /index.php
parentd8cfe1955f6536efc159c69c811067a031706970 (diff)
add back redirection to mobile plugin
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/index.php b/index.php
index 254ca57d4..c6698793f 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();