Changeset 15587


Ignore:
Timestamp:
06/07/12 15:20:00 (7 years ago)
Author:
plg
Message:

bug 2649 fixed: do not load mobile theme when using web API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/common.inc.php

    r13234 r15587  
    193193else 
    194194{ // Classic template 
    195   $theme = mobile_theme() ? $conf['mobile_theme'] : $user['theme']; 
     195  $theme = script_basename() != 'ws' and mobile_theme() ? $conf['mobile_theme'] : $user['theme']; 
    196196  $template = new Template(PHPWG_ROOT_PATH.'themes', $theme ); 
    197197} 
Note: See TracChangeset for help on using the changeset viewer.