add redirect to digest on smartphones if mobile is missing

master
Andrew Dolgov 12 years ago
parent 4f281ec432
commit a543e86d85

@ -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;
} }
} }

Loading…
Cancel
Save