diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2012-03-19 16:41:32 +0100 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2012-03-19 16:41:32 +0100 |
commit | e193091dfe348c5430c3a303947dbe7a6eced374 (patch) | |
tree | e03d726d43a0d8d96699a2c1767bfefffebdf800 /boot.php | |
parent | ea4be0db89b5e95b50211e023e94aa008aadae46 (diff) | |
parent | 139a86dbd395f4601b29b9af97ac8ea190cce9f9 (diff) | |
download | volse-hubzilla-e193091dfe348c5430c3a303947dbe7a6eced374.tar.gz volse-hubzilla-e193091dfe348c5430c3a303947dbe7a6eced374.tar.bz2 volse-hubzilla-e193091dfe348c5430c3a303947dbe7a6eced374.zip |
Merge remote-tracking branch 'friendica/master'
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -713,15 +713,16 @@ function login($register = false, $hiddens=false) { $noid = get_config('system','no_openid'); + $dest_url = $a->get_baseurl(true) . '/' . $a->query_string; + if(local_user()) { $tpl = get_markup_template("logout.tpl"); } else { $tpl = get_markup_template("login.tpl"); - + $_SESSION['return_url'] = $a->query_string; } - $dest_url = $a->get_baseurl(true) . '/' . $a->query_string; $o .= replace_macros($tpl,array( |