Fix WSOD on login
This commit is contained in:
parent
b30ea4c2c5
commit
13b50610d6
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");
|
$tpl = get_markup_template("logout.tpl");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$a->page['htmlhead'] .= replace_macros(get_markup_template("login_head.tpl"), array(
|
// There's no such thing as login_head.tpl, has never been in Red, removed from Friendica 1 Jun 2013...
|
||||||
'$baseurl' => $a->get_baseurl(true)
|
|
||||||
));
|
// $a->page['htmlhead'] .= replace_macros(get_markup_template("login_head.tpl"), array(
|
||||||
|
// '$baseurl' => $a->get_baseurl(true)
|
||||||
|
// ));
|
||||||
|
|
||||||
$tpl = get_markup_template("login.tpl");
|
$tpl = get_markup_template("login.tpl");
|
||||||
if(strlen($a->query_string))
|
if(strlen($a->query_string))
|
||||||
|
Reference in New Issue
Block a user