forked from extern/egroupware
Change default back to gif, change switch value to phpgw_info element for config later
This commit is contained in:
parent
bd2ca67eb1
commit
1918905b1c
@ -776,16 +776,16 @@
|
||||
|
||||
function find_image($appname,$image)
|
||||
{
|
||||
switch(PHPGW_IMGTYPE_PREF)
|
||||
switch($GLOBALS['phpgw_info']['server']['image_type'])
|
||||
{
|
||||
case 1:
|
||||
$imgpref = Array('gif','jpg','png');
|
||||
$imgpref = Array('png','jpg','gif');
|
||||
break;
|
||||
case 2:
|
||||
$imgpref = Array('png','jpg','nogifs');
|
||||
break;
|
||||
default:
|
||||
$imgpref = Array('png','jpg','gif');
|
||||
$imgpref = Array('gif','jpg','png');
|
||||
}
|
||||
|
||||
if (!@is_array($this->found_files[$appname]))
|
||||
|
Loading…
Reference in New Issue
Block a user