mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
$GLOBALS['egw_info']['flags']['deny_mobile'] to disable new 16.1 mobile support
This commit is contained in:
parent
ad78f6a7ac
commit
9f615386d8
@ -102,7 +102,8 @@ abstract class Framework extends Framework\Extra
|
||||
{
|
||||
// we prefer Pixelegg template, if it is available
|
||||
if (file_exists(EGW_SERVER_ROOT.'/pixelegg') &&
|
||||
(Header\UserAgent::mobile() || $GLOBALS['egw_info']['user']['preferences']['common']['theme'] == 'mobile' ||
|
||||
(empty($GLOBALS['egw_info']['flags']['deny_mobile']) && Header\UserAgent::mobile() ||
|
||||
$GLOBALS['egw_info']['user']['preferences']['common']['theme'] == 'mobile' ||
|
||||
empty($GLOBALS['egw_info']['server']['template_set'])))
|
||||
{
|
||||
$GLOBALS['egw_info']['server']['template_set'] = 'pixelegg';
|
||||
|
Loading…
Reference in New Issue
Block a user