diff options
author | Andrew Dolgov <[email protected]> | 2013-03-26 19:02:07 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-26 19:02:07 +0400 |
commit | 4aac835562fbc43c06aaa01ccee4ebaf7578acad (patch) | |
tree | dbe2a12c2dbf7364b985a5bf3eacd288e3d3b338 /index.php | |
parent | d8cfe1955f6536efc159c69c811067a031706970 (diff) |
add back redirection to mobile plugin
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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(); |