aboutsummaryrefslogtreecommitdiffstats
path: root/include/poller.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-19 15:56:30 -0700
committerfriendica <info@friendica.com>2015-03-19 15:56:30 -0700
commitb1fd6c53a5f86fd752db9c5394cae8f67492f07e (patch)
tree552446b414bc8d5c21ce2518c5ebafd8f5813f03 /include/poller.php
parent24ebaaf0f70f3452c72c0ac4017bff1144728da8 (diff)
downloadvolse-hubzilla-b1fd6c53a5f86fd752db9c5394cae8f67492f07e.tar.gz
volse-hubzilla-b1fd6c53a5f86fd752db9c5394cae8f67492f07e.tar.bz2
volse-hubzilla-b1fd6c53a5f86fd752db9c5394cae8f67492f07e.zip
tweaks to directory registrations which don't seem to be happening, also downgrade any directory that claims to be a primary directory for RED_GLOBAL.
Diffstat (limited to 'include/poller.php')
-rw-r--r--include/poller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/poller.php b/include/poller.php
index 06311eb39..43cc3f3c0 100644
--- a/include/poller.php
+++ b/include/poller.php
@@ -166,8 +166,8 @@ function poller_run($argv, $argc){
);
$dirmode = intval(get_config('system','directory_mode'));
- if($dirmode == DIRECTORY_MODE_SECONDARY) {
- logger('regdir: ' . print_r(z_fetch_url(get_directory_primary() . '/regdir?f=&url=' . z_root() . '&realm=' . get_directory_realm()),true));
+ if($dirmode === DIRECTORY_MODE_SECONDARY) {
+ logger('regdir: ' . print_r(z_fetch_url(get_directory_primary() . '/regdir?f=&url=' . urlencode(z_root()) . '&realm=' . urlencode(get_directory_realm())),true));
}
/**