diff options
author | Wave <wave72@users.noreply.github.com> | 2015-11-25 09:39:44 +0100 |
---|---|---|
committer | Wave <wave72@users.noreply.github.com> | 2015-11-25 09:39:44 +0100 |
commit | 2de65ab39fc704fd8b7abcf9003ee98e3ffb1cc3 (patch) | |
tree | 783f90531c93f498609fb1dbd0e199ca65bb2cc0 /mod/directory.php | |
parent | e785b723aad51d4f7202dbbb24a0e2245428cb5b (diff) | |
parent | 0559db9cf81267c34ca014fef1aebe1cf31de2ab (diff) | |
download | volse-hubzilla-2de65ab39fc704fd8b7abcf9003ee98e3ffb1cc3.tar.gz volse-hubzilla-2de65ab39fc704fd8b7abcf9003ee98e3ffb1cc3.tar.bz2 volse-hubzilla-2de65ab39fc704fd8b7abcf9003ee98e3ffb1cc3.zip |
Merge pull request #3 from redmatrix/master
Update branch
Diffstat (limited to 'mod/directory.php')
-rw-r--r-- | mod/directory.php | 2 |
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'; } |