downtime theme needs access to user global
This commit is contained in:
parent
57972632e4
commit
1982740386
@ -13,7 +13,7 @@ class DowntimeTheme extends Themelet {
|
|||||||
* Display $message and exit
|
* Display $message and exit
|
||||||
*/
|
*/
|
||||||
public function display_message($message) {
|
public function display_message($message) {
|
||||||
global $config;
|
global $config, $user;
|
||||||
$theme_name = $config->get_string('theme');
|
$theme_name = $config->get_string('theme');
|
||||||
$data_href = get_base_href();
|
$data_href = get_base_href();
|
||||||
$login_link = make_link("user_admin/login");
|
$login_link = make_link("user_admin/login");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user