mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
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