add back redirection to mobile plugin

This commit is contained in:
Andrew Dolgov 2013-03-26 19:02:07 +04:00
parent d8cfe1955f
commit 4aac835562
1 changed files with 2 additions and 3 deletions

View File

@ -35,13 +35,12 @@
if ($mobile->isTablet() && $pluginhost->get_plugin("digest")) { if ($mobile->isTablet() && $pluginhost->get_plugin("digest")) {
header('Location: backend.php?op=digest'); header('Location: backend.php?op=digest');
exit; exit;
} else if ($mobile->isMobile()) { } else if ($mobile->isMobile() && $pluginhost->get_plugin("mobile")) {
header('Location: mobile/index.php'); header('Location: backend.php?op=mobile');
exit; exit;
} }
} }
login_sequence($link); login_sequence($link);
no_cache_incantation(); no_cache_incantation();