diff options
author | friendica <info@friendica.com> | 2013-02-13 02:33:13 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-02-13 02:33:13 -0800 |
commit | 942adadec63805e9f6dbed63d7f8a4b69a597e91 (patch) | |
tree | befb2d40b7e0e70ef4b454bacdaf57544cdafdfe /boot.php | |
parent | d1e5337c72a358acd94f5e5aa53f96ce05abd6c5 (diff) | |
download | volse-hubzilla-942adadec63805e9f6dbed63d7f8a4b69a597e91.tar.gz volse-hubzilla-942adadec63805e9f6dbed63d7f8a4b69a597e91.tar.bz2 volse-hubzilla-942adadec63805e9f6dbed63d7f8a4b69a597e91.zip |
fix auto rmagic when visiting with zid
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1973,9 +1973,9 @@ function get_my_address() { } function zid_init(&$a) { - $tmp_str = get_my_url(); - if(validate_url($tmp_str)) { - proc_run('php','include/gprobe.php',bin2hex($tmp_str)); + $tmp_str = get_my_address(); + if($tmp_str && strpos($tmp_str,'@')) { + proc_run('php','include/gprobe.php',$tmp_str); $arr = array('zid' => $tmp_str, 'url' => $a->cmd); call_hooks('zid_init',$arr); if((! local_user()) && (! remote_user())) { |