mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 21:55:15 +00:00
Fix WSOD on login
This commit is contained in:
parent
b30ea4c2c5
commit
13b50610d6
1 changed files with 5 additions and 3 deletions
8
boot.php
8
boot.php
|
@ -1514,9 +1514,11 @@ function login($register = false, $form_id = 'main-login', $hiddens=false) {
|
|||
$tpl = get_markup_template("logout.tpl");
|
||||
}
|
||||
else {
|
||||
$a->page['htmlhead'] .= replace_macros(get_markup_template("login_head.tpl"), array(
|
||||
'$baseurl' => $a->get_baseurl(true)
|
||||
));
|
||||
// There's no such thing as login_head.tpl, has never been in Red, removed from Friendica 1 Jun 2013...
|
||||
|
||||
// $a->page['htmlhead'] .= replace_macros(get_markup_template("login_head.tpl"), array(
|
||||
// '$baseurl' => $a->get_baseurl(true)
|
||||
// ));
|
||||
|
||||
$tpl = get_markup_template("login.tpl");
|
||||
if(strlen($a->query_string))
|
||||
|
|
Loading…
Reference in a new issue