From 63ee37b29c4270d9f0c6dc47afce0cf112818b92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cornelius=20Wei=C3=9F?= Date: Thu, 26 Apr 2007 23:23:05 +0000 Subject: [PATCH] fix wrong old_defaut imagedir --- phpgwapi/inc/class.common.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.common.inc.php b/phpgwapi/inc/class.common.inc.php index 7161973d1d..0f4346c88f 100644 --- a/phpgwapi/inc/class.common.inc.php +++ b/phpgwapi/inc/class.common.inc.php @@ -844,7 +844,7 @@ $imagedir = EGW_SERVER_ROOT . '/'.$appname.'/templates/'.$GLOBALS['egw_info']['server']['template_set'].'/images'; $imagedir_default = EGW_SERVER_ROOT . '/'.$appname.'/templates/idots/images'; - $imagedir_olddefault = EGW_SERVER_ROOT . '/'.$appname.'/images'; + $imagedir_olddefault = EGW_SERVER_ROOT . '/'.$appname.'/templates/default/images'; if ($this->is_image_dir ($imagedir)) { @@ -856,7 +856,7 @@ } elseif ($this->is_image_dir ($imagedir_olddefault)) { - return $GLOBALS['egw_info']['server']['webserver_url'].'/'.$appname.'/images'; + return $GLOBALS['egw_info']['server']['webserver_url'].'/'.$appname.'/templates/default/images'; } else {