Fix namespace issue when calling function

This commit is contained in:
Hadi Nategh 2018-05-29 11:13:12 +02:00
parent e9f1e8bcad
commit 71ae7876d6

View File

@ -175,7 +175,7 @@ class Login
$var['background_file'] = self::pick_login_background($GLOBALS['egw_info']['server']['login_background_file']); $var['background_file'] = self::pick_login_background($GLOBALS['egw_info']['server']['login_background_file']);
$var['logo_file'] = Api\Framework::get_login_logo_or_bg_url('login_logo_file', 'login_logo'); $var['logo_file'] = \EGroupware\Api\Framework::get_login_logo_or_bg_url('login_logo_file', 'login_logo');
$var['logo_url'] = $GLOBALS['egw_info']['server']['login_logo_url']?$GLOBALS['egw_info']['server']['login_logo_url']:'http://www.egroupware.org'; $var['logo_url'] = $GLOBALS['egw_info']['server']['login_logo_url']?$GLOBALS['egw_info']['server']['login_logo_url']:'http://www.egroupware.org';
if (substr($var['logo_url'],0,4) != 'http') if (substr($var['logo_url'],0,4) != 'http')