From f437556000c383d2a8da62a08d76fc8443be5df7 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 23 Mar 2004 10:28:15 +0000 Subject: [PATCH] read the images from the login-template-set, not the (maybe not even set) users template-set --- login.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/login.php b/login.php index e3b86b0341..ed2ab1eb75 100755 --- a/login.php +++ b/login.php @@ -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']) {