mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
read the images from the login-template-set, not the (maybe not even set) users template-set
This commit is contained in:
parent
738dfbc3c2
commit
f437556000
@ -45,6 +45,9 @@
|
||||
$GLOBALS['phpgw_info']['server']['template_dir'] = PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info']['login_template_set'];
|
||||
$tmpl = CreateObject('phpgwapi.Template', $GLOBALS['phpgw_info']['server']['template_dir']);
|
||||
|
||||
// read the images from the login-template-set, not the (maybe not even set) users template-set
|
||||
$GLOBALS['phpgw_info']['user']['preferences']['common']['template_set'] = $GLOBALS['phpgw_info']['login_template_set'];
|
||||
|
||||
// This is used for system downtime, to prevent new logins.
|
||||
if($GLOBALS['phpgw_info']['server']['deny_all_logins'])
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user