fix for find_image to use the aktive template set

This commit is contained in:
Ralf Becker 2004-01-08 09:04:58 +00:00
parent a3a85a862d
commit a4d5d57722

View File

@ -877,7 +877,7 @@
{
$imagedir_olddefault = '/'.$appname.'/images';
$imagedir_default = '/'.$appname.'/templates/default/images';
$imagedir = '/'.$appname.'/templates/'.$GLOBALS['phpgw_info']['server']['template_set'].'/images';
$imagedir = '/'.$appname.'/templates/'.$GLOBALS['phpgw_info']['user']['preferences']['common']['template_set'].'/images';
if (@is_dir(PHPGW_INCLUDE_ROOT.$imagedir_olddefault))
{