From a4a427e2ab023fae85642ec33406fa5257ca33b7 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 2 Jun 2010 21:28:07 +0000 Subject: [PATCH] allow to specifiy a path or url, instead only an url --- phpgwapi/inc/class.egw_framework.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_framework.inc.php b/phpgwapi/inc/class.egw_framework.inc.php index f5412199c7..0e9a1854e9 100644 --- a/phpgwapi/inc/class.egw_framework.inc.php +++ b/phpgwapi/inc/class.egw_framework.inc.php @@ -376,7 +376,8 @@ abstract class egw_framework $var['messages'] = $api_messages . '
' . checkcode($cd); } - if (substr($GLOBALS['egw_info']['server']['login_logo_file'],0,4) == 'http') + if (substr($GLOBALS['egw_info']['server']['login_logo_file'],0,4) == 'http' || + $GLOBALS['egw_info']['server']['login_logo_file'][0] == '/') { $var['logo_file'] = $GLOBALS['egw_info']['server']['login_logo_file']; }