Commit eeb81176 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #4863 Using configured theme on login page as well

Showing with 1 addition and 3 deletions
+1 -3
......@@ -159,6 +159,7 @@ if (!is_readable(CONFIG_DIR.'/'.CONFIG_FILE)) {
/* Parse configuration file */
$config = new config(CONFIG_DIR.'/'.CONFIG_FILE, $BASE_DIR);
session::global_set('config', $config);
session::global_set('DEBUGLEVEL', $config->get_cfg_value('DEBUGLEVEL'));
@DEBUG (DEBUG_CONFIG, __LINE__, __FUNCTION__, __FILE__, $config->data, 'config');
......@@ -317,9 +318,6 @@ class Index {
/* User might have its own language, re-run initLanguage */
initLanguage();
/* Save config to session. */
session::global_set('config', $config);
/* We need a fully loaded plist and config to test account expiration */
session::global_un_set('plist');
$plist = load_plist();
......
  • bmortier @bmortier

    mentioned in issue #1541

    By bmortier on 2017-09-02T15:29:57 (imported from GitLab)

    ·

    mentioned in issue #1541

    By bmortier on 2017-09-02T15:29:57 (imported from GitLab)

    Toggle commit list
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment