diff options
author | root <root@diekershoff.homeunix.net> | 2011-01-04 14:21:43 +0100 |
---|---|---|
committer | root <root@diekershoff.homeunix.net> | 2011-01-04 14:21:43 +0100 |
commit | cbace1639e7eb9c543a2ba0b51619a7f4164ae64 (patch) | |
tree | 8386dd0848a3ed4e2190ef1f75f6698d44811edd /mod/dfrn_poll.php | |
parent | 51bcfb649fe2a20c9b8b1e66bc59e39da80d326b (diff) | |
parent | 64628c800d711c3a3c28e2bf94efd7e8b26a5eba (diff) | |
download | volse-hubzilla-cbace1639e7eb9c543a2ba0b51619a7f4164ae64.tar.gz volse-hubzilla-cbace1639e7eb9c543a2ba0b51619a7f4164ae64.tar.bz2 volse-hubzilla-cbace1639e7eb9c543a2ba0b51619a7f4164ae64.zip |
Merge branch 'master' of git://github.com/friendika/friendika
Diffstat (limited to 'mod/dfrn_poll.php')
-rw-r--r-- | mod/dfrn_poll.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/dfrn_poll.php b/mod/dfrn_poll.php index 52272efad..1061cdb89 100644 --- a/mod/dfrn_poll.php +++ b/mod/dfrn_poll.php @@ -73,6 +73,7 @@ function dfrn_poll_init(&$a) { if((int) $xml->status == 1) { $_SESSION['authenticated'] = 1; $_SESSION['visitor_id'] = $r[0]['id']; + $_SESSION['visitor_home'] = $r[0]['url']; notice( $r[0]['username'] . t(' welcomes ') . $r[0]['name'] . EOL); // Visitors get 1 day session. $session_id = session_id(); @@ -386,6 +387,7 @@ function dfrn_poll_content(&$a) { if(((int) $xml->status == 0) && ($xml->challenge == $hash) && ($xml->sec == $sec)) { $_SESSION['authenticated'] = 1; $_SESSION['visitor_id'] = $r[0]['id']; + $_SESSION['visitor_home'] = $r[0]['url']; notice( $r[0]['username'] . t(' welcomes ') . $r[0]['name'] . EOL); // Visitors get 1 day session. $session_id = session_id(); |