diff options
author | zottel <github@zottel.net> | 2012-03-20 08:08:42 +0100 |
---|---|---|
committer | zottel <github@zottel.net> | 2012-03-20 08:08:42 +0100 |
commit | cf347664165f97b5262d15464bbb169cbdb4ddd4 (patch) | |
tree | 4a2b3979200fa9966e44bf4974e9276a20d22419 /boot.php | |
parent | 2b3b97df0981c271584c75f43811ca07eb32bafe (diff) | |
parent | 5a5aadb743e055530aa071dd3e47705a3bf5d728 (diff) | |
download | volse-hubzilla-cf347664165f97b5262d15464bbb169cbdb4ddd4.tar.gz volse-hubzilla-cf347664165f97b5262d15464bbb169cbdb4ddd4.tar.bz2 volse-hubzilla-cf347664165f97b5262d15464bbb169cbdb4ddd4.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -9,7 +9,7 @@ require_once('include/nav.php'); require_once('include/cache.php'); define ( 'FRIENDICA_PLATFORM', 'Friendica'); -define ( 'FRIENDICA_VERSION', '2.3.1285' ); +define ( 'FRIENDICA_VERSION', '2.3.1286' ); define ( 'DFRN_PROTOCOL_VERSION', '2.23' ); define ( 'DB_UPDATE_VERSION', 1132 ); @@ -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( |