forked from extern/egroupware
fix for find_image to use the aktive template set
This commit is contained in:
parent
a3a85a862d
commit
a4d5d57722
@ -877,7 +877,7 @@
|
|||||||
{
|
{
|
||||||
$imagedir_olddefault = '/'.$appname.'/images';
|
$imagedir_olddefault = '/'.$appname.'/images';
|
||||||
$imagedir_default = '/'.$appname.'/templates/default/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))
|
if (@is_dir(PHPGW_INCLUDE_ROOT.$imagedir_olddefault))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user