mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 20:40:14 +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;
|
break;
|
||||||
}
|
}
|
||||||
/* If they want NOGIF policy, then I do a global replace */
|
/* 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;
|
return $str;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user