diff options
author | friendica <info@friendica.com> | 2012-11-08 19:07:19 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-11-08 19:07:19 -0800 |
commit | 22841e15666a6678517cf7a1f8f8791dcd37e1a6 (patch) | |
tree | d67dcb866e78fdab995529615ff78396396c6ab1 /include/security.php | |
parent | f66a3d26befeb9966d9059164864c49d1f5a7721 (diff) | |
download | volse-hubzilla-22841e15666a6678517cf7a1f8f8791dcd37e1a6.tar.gz volse-hubzilla-22841e15666a6678517cf7a1f8f8791dcd37e1a6.tar.bz2 volse-hubzilla-22841e15666a6678517cf7a1f8f8791dcd37e1a6.zip |
start implementing zot-id
Diffstat (limited to 'include/security.php')
-rw-r--r-- | include/security.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/security.php b/include/security.php index ea3df2511..eeec2b3d6 100644 --- a/include/security.php +++ b/include/security.php @@ -222,6 +222,9 @@ function change_channel($change_channel) { dbesc($hash) ); if($x) { + $_SESSION['my_url'] = $x[0]['xchan_url']; + $_SESSION['my_address'] = $x[0]['xchan_addr']; + get_app()->set_observer($x[0]); get_app()->set_perms(get_all_perms(local_user(),$hash)); } |