mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-23 13:51:12 +01:00
allow to use protocol independent url like "//host/path/to/logo.png" for logo in admin site configuration
This commit is contained in:
parent
293d395472
commit
4ef222e7ff
@ -400,7 +400,8 @@ egw.set_user('.$GLOBALS['egw']->accounts->json($GLOBALS['egw_info']['user']['acc
|
|||||||
$tmpl->set_var('website_title', $GLOBALS['egw_info']['server']['site_title']);
|
$tmpl->set_var('website_title', $GLOBALS['egw_info']['server']['site_title']);
|
||||||
$tmpl->set_var('template_set',$this->template);
|
$tmpl->set_var('template_set',$this->template);
|
||||||
|
|
||||||
if (substr($GLOBALS['egw_info']['server']['login_logo_file'],0,4) == 'http')
|
if (substr($GLOBALS['egw_info']['server']['login_logo_file'], 0, 4) == 'http' ||
|
||||||
|
strpos($GLOBALS['egw_info']['server']['login_logo_file'], '//') !== false)
|
||||||
{
|
{
|
||||||
$var['logo_file'] = $GLOBALS['egw_info']['server']['login_logo_file'];
|
$var['logo_file'] = $GLOBALS['egw_info']['server']['login_logo_file'];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user