mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-04 06:57:03 +03:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
85155a9895
17 changed files with 286 additions and 245 deletions
|
|
@ -138,7 +138,8 @@ class Service
|
|||
{
|
||||
$bMobile = false;
|
||||
$bMobileDevice = false;
|
||||
if ($this->oActions->Config()->Get('labs', 'allow_mobile_version', false)) {
|
||||
if ($this->oActions->Config()->Get('labs', 'allow_mobile_version', false))
|
||||
{
|
||||
$bUseMobileVersionForTablets = $this->oActions->Config()->Get('labs', 'use_mobile_version_for_tablets', false);
|
||||
$bMobileDevice = UserAgent::isMobile() &&
|
||||
($bUseMobileVersionForTablets ? true : !UserAgent::isTablet());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue