forked from extern/egroupware
for mobile devices prever $app/templates/mobile/images
This commit is contained in:
parent
c76afa6e2d
commit
22d833affa
@ -160,6 +160,10 @@ class Image
|
||||
$app_map =& $map[$app];
|
||||
if (true) $app_map = array();
|
||||
$imagedirs = array();
|
||||
if (html::$ua_mobile)
|
||||
{
|
||||
$imagedirs[] = '/'.$app.'/templates/mobile/images';
|
||||
}
|
||||
if ($app == 'phpgwapi')
|
||||
{
|
||||
$imagedirs[] = $GLOBALS['egw']->framework->template_dir.'/images';
|
||||
|
Loading…
Reference in New Issue
Block a user