mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
Change to use phpgw_info for image type selection
This commit is contained in:
parent
1918905b1c
commit
8bf6b86674
@ -334,9 +334,9 @@
|
||||
break;
|
||||
}
|
||||
/* If they want NOGIF policy, then I do a global replace */
|
||||
if (PHPGW_IMGTYPE_PREF == 2)
|
||||
if ($GLOBALS['phpgw_info']['server']['image_type'] == 2)
|
||||
{
|
||||
$str = str_replace (".gif", ".png",$str);
|
||||
$str = str_replace ('.gif', '.png',$str);
|
||||
}
|
||||
return $str;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user