using framework->template_dir, instead of hardcoded phpgwapi based one

This commit is contained in:
Ralf Becker 2010-06-02 21:36:16 +00:00
parent 0150726c4b
commit e8c4786879

View File

@ -743,7 +743,7 @@ class common
*/
static function find_image($appname,$image)
{
if ($appname != 'phpgwapi')
if ($appname == 'phpgwapi')
{
$imagedir = $GLOBALS['egw']->framework->template_dir.'/images';
}