aboutsummaryrefslogtreecommitdiffstats
path: root/include/poller.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-31 21:06:48 -0700
committerfriendica <info@friendica.com>2015-03-31 21:06:48 -0700
commit6f78d7a85d0371dc7fb72acb3a85217005400f91 (patch)
tree89241f3af460da44bc3c9c74e15d7da5dfb4dbec /include/poller.php
parentc98de445281e1a819581f96d0919eb5da307c62c (diff)
downloadvolse-hubzilla-6f78d7a85d0371dc7fb72acb3a85217005400f91.tar.gz
volse-hubzilla-6f78d7a85d0371dc7fb72acb3a85217005400f91.tar.bz2
volse-hubzilla-6f78d7a85d0371dc7fb72acb3a85217005400f91.zip
fix regdir
Diffstat (limited to 'include/poller.php')
-rw-r--r--include/poller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/poller.php b/include/poller.php
index 4786188af..bc48c3f00 100644
--- a/include/poller.php
+++ b/include/poller.php
@@ -174,7 +174,7 @@ function poller_run($argv, $argc){
);
$dirmode = intval(get_config('system','directory_mode'));
- if($dirmode === DIRECTORY_MODE_SECONDARY) {
+ if($dirmode === DIRECTORY_MODE_SECONDARY || $dirmode === DIRECTORY_MODE_PRIMARY) {
logger('regdir: ' . print_r(z_fetch_url(get_directory_primary() . '/regdir?f=&url=' . urlencode(z_root()) . '&realm=' . urlencode(get_directory_realm())),true));
}