Set a default directory server from a hard-wired list if one was not previously chosen.
This commit is contained in:
@@ -23,13 +23,7 @@ function dirprofile_init(&$a) {
|
||||
}
|
||||
if(! $url) {
|
||||
$directory = find_upstream_directory($dirmode);
|
||||
|
||||
if($directory) {
|
||||
$url = $directory['url'] . '/dirsearch';
|
||||
}
|
||||
else {
|
||||
$url = DIRECTORY_FALLBACK_MASTER . '/dirsearch';
|
||||
}
|
||||
$url = $directory['url'] . '/dirsearch';
|
||||
}
|
||||
logger('mod_directory: URL = ' . $url, LOGGER_DEBUG);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user