search api and phpgwapi for images for now, later we can remove phpgwapi

This commit is contained in:
Ralf Becker 2016-04-08 14:36:38 +00:00
parent 5a69d6e408
commit dde6da248d

View File

@ -71,6 +71,10 @@ class Image
return $webserver_url.$image_map[$app][$image.$extension];
}
// then api
if(isset($image_map['api'][$image.$extension]))
{
return $webserver_url.$image_map['api'][$image.$extension];
}
if(isset($image_map['phpgwapi'][$image.$extension]))
{
return $webserver_url.$image_map['phpgwapi'][$image.$extension];