1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-16 01:55:55 +00:00

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

View File

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