upstream fixes

This commit is contained in:
friendica
2012-08-20 06:34:54 -07:00
parent 34e42c4cb3
commit 2f81fb4385
5 changed files with 33 additions and 28 deletions
+4
View File
@@ -913,6 +913,10 @@ if(! function_exists('login')) {
$tpl = get_markup_template("logout.tpl");
}
else {
$a->page['htmlhead'] .= replace_macros(get_markup_template("login_head.tpl"),array(
'$baseurl' => $a->get_baseurl(true)
));
$tpl = get_markup_template("login.tpl");
$_SESSION['return_url'] = $a->query_string;
}