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")) {
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();