some zot-id infrastructure
This commit is contained in:
parent
e43a3a412c
commit
61246cbd1c
3 changed files with 48 additions and 32 deletions
|
@ -86,6 +86,7 @@ function dfrn_poll_init(&$a) {
|
|||
$_SESSION['authenticated'] = 1;
|
||||
$_SESSION['visitor_id'] = $r[0]['id'];
|
||||
$_SESSION['visitor_home'] = $r[0]['url'];
|
||||
$_SESSION['visitor_handle'] = $r[0]['addr'];
|
||||
$_SESSION['visitor_visiting'] = $r[0]['uid'];
|
||||
info( sprintf(t('%s welcomes %s'), $r[0]['username'] , $r[0]['name']) . EOL);
|
||||
// Visitors get 1 day session.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue