aboutsummaryrefslogtreecommitdiffstats
path: root/mod/directory.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-11-12 16:45:38 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-11-12 16:45:38 -0800
commit391807b46c3f54eb94b88c253d89d09bc7139989 (patch)
treeac409e3fb52e8c5376941779ef143d3e02b758a6 /mod/directory.php
parent5afe8e5aa116fb288b2ef87c7af3c7e74565d50b (diff)
downloadvolse-hubzilla-391807b46c3f54eb94b88c253d89d09bc7139989.tar.gz
volse-hubzilla-391807b46c3f54eb94b88c253d89d09bc7139989.tar.bz2
volse-hubzilla-391807b46c3f54eb94b88c253d89d09bc7139989.zip
small fixes, removed old unused database row, and log more prominently a missing directory server URL
Diffstat (limited to 'mod/directory.php')
-rw-r--r--mod/directory.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/directory.php b/mod/directory.php
index 3c230e173..4ab118b17 100644
--- a/mod/directory.php
+++ b/mod/directory.php
@@ -121,6 +121,8 @@ function directory_content(&$a) {
}
if(! $url) {
$directory = find_upstream_directory($dirmode);
+ if((! $directory) || (! array_key_exists('url',$directory)) || (! $directory['url']))
+ logger('CRITICAL: No directory server URL');
$url = $directory['url'] . '/dirsearch';
}