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

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