diff options
author | friendica <info@friendica.com> | 2013-01-22 02:56:32 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-01-22 02:56:32 -0800 |
commit | beb3301d43c0d532bd6984ee745074479babdabb (patch) | |
tree | e1fb9a4ad9ef56456f6e06049053f2234ce79c63 /mod/zfinger.php | |
parent | bda4ca4c0d9f247675f4c241ecb0d402bb380d8f (diff) | |
download | volse-hubzilla-beb3301d43c0d532bd6984ee745074479babdabb.tar.gz volse-hubzilla-beb3301d43c0d532bd6984ee745074479babdabb.tar.bz2 volse-hubzilla-beb3301d43c0d532bd6984ee745074479babdabb.zip |
security fixes related to directory access and sites that are off the grid
Diffstat (limited to 'mod/zfinger.php')
-rw-r--r-- | mod/zfinger.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/zfinger.php b/mod/zfinger.php index 2fb169ef1..b7a89b12b 100644 --- a/mod/zfinger.php +++ b/mod/zfinger.php @@ -75,7 +75,6 @@ function zfinger_init(&$a) { if($e['xchan_flags'] & XCHAN_FLAGS_HIDDEN) $searchable = false; - // This is for birthdays and keywords, but must check access permissions $p = q("select * from profile where uid = %d and is_default = 1", intval($e['channel_id']) @@ -181,7 +180,7 @@ function zfinger_init(&$a) { elseif($dirmode == DIRECTORY_MODE_STANDALONE) $ret['site']['directory_mode'] = 'standalone'; if($dirmode != DIRECTORY_MODE_NORMAL) - $ret['site']['directory_url'] = z_root() . '/dir'; + $ret['site']['directory_url'] = z_root() . '/dirsearch'; json_return_and_die($ret); |