add redirect to digest on smartphones if mobile is missing

This commit is contained in:
Andrew Dolgov 2013-03-26 20:31:30 +04:00
parent 4f281ec432
commit a543e86d85
1 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,9 @@
} else if ($mobile->isMobile() && $pluginhost->get_plugin("mobile")) { } else if ($mobile->isMobile() && $pluginhost->get_plugin("mobile")) {
header('Location: backend.php?op=mobile'); header('Location: backend.php?op=mobile');
exit; exit;
} else if ($mobile->isMobile() && $pluginhost->get_plugin("digest")) {
header('Location: backend.php?op=digest');
exit;
} }
} }