diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-07-16 06:24:41 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-07-16 06:24:41 -0700 |
commit | 059e090b53643cb07a2634b700ada5cf3b6894e8 (patch) | |
tree | 0885c33ceb58ebcd0e713eb656484c294efab112 /include | |
parent | 56a37deb7399075e35e4a174d609c9e8424095db (diff) | |
download | volse-hubzilla-059e090b53643cb07a2634b700ada5cf3b6894e8.tar.gz volse-hubzilla-059e090b53643cb07a2634b700ada5cf3b6894e8.tar.bz2 volse-hubzilla-059e090b53643cb07a2634b700ada5cf3b6894e8.zip |
sorting out visitor sessions
Diffstat (limited to 'include')
-rw-r--r-- | include/auth.php | 2 | ||||
-rw-r--r-- | include/notifier.php | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/auth.php b/include/auth.php index 5e454745e..387cab0af 100644 --- a/include/auth.php +++ b/include/auth.php @@ -7,6 +7,7 @@ if((x($_SESSION,'authenticated')) && (! ($_POST['auth-params'] == 'login'))) { unset($_SESSION['authenticated']); unset($_SESSION['uid']); unset($_SESSION['visitor_id']); + unset($_SESSION['is_visitor']); unset($_SESSION['administrator']); unset($_SESSION['cid']); $_SESSION['sysmsg'] = "Logged out." . EOL; @@ -34,6 +35,7 @@ else { unset($_SESSION['authenticated']); unset($_SESSION['uid']); unset($_SESSION['visitor_id']); + unset($_SESSION['is_visitor']); unset($_SESSION['administrator']); unset($_SESSION['cid']); $encrypted = hash('whirlpool',trim($_POST['password'])); diff --git a/include/notifier.php b/include/notifier.php index 4d114a4e3..f7c0570d8 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -151,6 +151,9 @@ if($argc < 3) '$name' => xmlify($contact['name']), '$profile_page' => xmlify($contact['url']), '$thumb' => xmlify($contact['thumb']), + '$owner_name' => xmlify($owner['name']), + '$owner_profile_page' => xmlify($owner['url']), + '$owner_thumb' => xmlify($owner['thumb']), '$item_id' => xmlify("urn:X-dfrn:$baseurl:{$owner['uid']}:{$item['hash']}"), '$title' => xmlify($contact['name']), '$published' => xmlify(datetime_convert('UTC', 'UTC', $item['created'] . '+00:00' , 'Y-m-d\TH:i:s\Z')), |