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:
11
index.php
11
index.php
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user