Merge https://github.com/redmatrix/redmatrix into pending_merge
This commit is contained in:
commit
d78118e2b0
@ -271,18 +271,19 @@ class RedBrowser extends DAV\Browser\Plugin {
|
|||||||
'$nick' => $this->auth->getCurrentUser()
|
'$nick' => $this->auth->getCurrentUser()
|
||||||
));
|
));
|
||||||
|
|
||||||
get_app()->page['content'] = $html;
|
$a = get_app();
|
||||||
load_pdl(get_app());
|
$a->page['content'] = $html;
|
||||||
|
load_pdl($a);
|
||||||
|
|
||||||
$theme_info_file = "view/theme/" . current_theme() . "/php/theme.php";
|
$theme_info_file = "view/theme/" . current_theme() . "/php/theme.php";
|
||||||
if (file_exists($theme_info_file)){
|
if (file_exists($theme_info_file)){
|
||||||
require_once($theme_info_file);
|
require_once($theme_info_file);
|
||||||
if (function_exists(str_replace('-', '_', current_theme()) . '_init')) {
|
if (function_exists(str_replace('-', '_', current_theme()) . '_init')) {
|
||||||
$func = str_replace('-', '_', current_theme()) . '_init';
|
$func = str_replace('-', '_', current_theme()) . '_init';
|
||||||
$func(get_app());
|
$func($a);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
construct_page(get_app());
|
construct_page($a);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user