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 /index.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 'index.php')
-rw-r--r-- | index.php | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -85,10 +85,12 @@ if((x($_SESSION,'language')) && ($_SESSION['language'] !== $lang)) { load_translation_table($a->language); } -if((x($_GET,'zrl')) && (! $install)) { - $_SESSION['my_url'] = $_GET['zrl']; - $a->query_string = preg_replace('/[\?&]zrl=(.*?)([\?&]|$)/is','',$a->query_string); - zrl_init($a); +if((x($_GET,'zid')) && (! $install)) { + $a->query_string = preg_replace('/[\?&]zid=(.*?)([\?&]|$)/is','',$a->query_string); + if(! local_user()) { + $_SESSION['my_address'] = $_GET['zid']; + zid_init($a); + } } if((x($_SESSION,'authenticated')) || (x($_POST,'auth-params')) || ($a->module === 'login')) |