Skip to content
Snippets Groups Projects
Commit 1b54b63b authored by Demian Katz's avatar Demian Katz
Browse files

Determine language setting BEFORE theme setting.

- This may be helpful if language-specific themes are needed; otherwise makes no real difference.
parent e1a8a86b
Branches
Tags
No related merge requests found
...@@ -343,8 +343,8 @@ class Bootstrapper ...@@ -343,8 +343,8 @@ class Bootstrapper
$viewModel->setVariable('userLang', $language); $viewModel->setVariable('userLang', $language);
$viewModel->setVariable('allLangs', $config->Languages); $viewModel->setVariable('allLangs', $config->Languages);
}; };
$this->events->attach('dispatch.error', $callback, 9000); $this->events->attach('dispatch.error', $callback, 10000);
$this->events->attach('dispatch', $callback, 9000); $this->events->attach('dispatch', $callback, 10000);
} }
/** /**
...@@ -371,8 +371,8 @@ class Bootstrapper ...@@ -371,8 +371,8 @@ class Bootstrapper
$theme = new \VuFindTheme\Initializer($config, $event); $theme = new \VuFindTheme\Initializer($config, $event);
$theme->init(); $theme->init();
}; };
$this->events->attach('dispatch.error', $callback, 10000); $this->events->attach('dispatch.error', $callback, 9000);
$this->events->attach('dispatch', $callback, 10000); $this->events->attach('dispatch', $callback, 9000);
} }
/** /**
......
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