summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-26 19:01:14 +0400
committerAndrew Dolgov <[email protected]>2013-03-26 19:01:14 +0400
commitd8cfe1955f6536efc159c69c811067a031706970 (patch)
treef71014ce2d52a63e0b37da07ad1be49d039b70c1 /index.php
parent9d9ed2b32a1a9c2560a43a85c94caecf140974d5 (diff)
Revert "Removes redirection to mobile/"
This reverts commit a4d4bceb978e828aa21950c8eb2b1bd2be79726b.
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.php b/index.php
index c634235ab..254ca57d4 100644
--- 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;
}
}