bug 2649 fixed: do not load mobile theme when using web API
git-svn-id: http://piwigo.org/svn/trunk@15587 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
1e4bc8d5d6
commit
28e722f27c
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ if (defined('IN_ADMIN') and IN_ADMIN )
|
|||
}
|
||||
else
|
||||
{ // Classic template
|
||||
$theme = mobile_theme() ? $conf['mobile_theme'] : $user['theme'];
|
||||
$theme = script_basename() != 'ws' and mobile_theme() ? $conf['mobile_theme'] : $user['theme'];
|
||||
$template = new Template(PHPWG_ROOT_PATH.'themes', $theme );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue