From 52bc4a75f3bfff8bdbbc33a7033c5cb98999b17f Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 27 Sep 2014 17:11:41 +0000 Subject: [PATCH] allow path instead of url with schema for login too --- phpgwapi/inc/class.egw_framework.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_framework.inc.php b/phpgwapi/inc/class.egw_framework.inc.php index 102301fd41..566ee0147c 100644 --- a/phpgwapi/inc/class.egw_framework.inc.php +++ b/phpgwapi/inc/class.egw_framework.inc.php @@ -570,7 +570,7 @@ abstract class egw_framework $tmpl->set_var('template_set',$this->template); if (substr($GLOBALS['egw_info']['server']['login_logo_file'], 0, 4) == 'http' || - strpos($GLOBALS['egw_info']['server']['login_logo_file'], '//') !== false) + $GLOBALS['egw_info']['server']['login_logo_file'][0] == '/') { $var['logo_file'] = $GLOBALS['egw_info']['server']['login_logo_file']; }