1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-06 17:31:33 +00:00

implement search in pref-filters

This commit is contained in:
Andrew Dolgov
2012-06-29 13:11:39 +04:00
parent 955d4f82ea
commit 310fa2ddef
5 changed files with 46 additions and 8 deletions

View File

@@ -18,9 +18,14 @@
$mobile = new Mobile_Detect();
if ($mobile->isMobile() && !$mobile->isTablet() && !$_REQUEST['mobile']) {
header('Location: mobile/index.php');
exit;
if (!$_REQUEST['mobile']) {
if ($mobile->isTablet()) {
header('Location: digest.php');
exit;
} else if ($mobile->isMobile()) {
header('Location: mobile/index.php');
exit;
}
}
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);