summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
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();