Set a default directory server from a hard-wired list if one was not previously chosen.
This commit is contained in:
@@ -48,13 +48,7 @@ function directory_run($argv, $argc){
|
||||
}
|
||||
|
||||
$directory = find_upstream_directory($dirmode);
|
||||
|
||||
if($directory) {
|
||||
$url = $directory['url'] . '/post';
|
||||
}
|
||||
else {
|
||||
$url = DIRECTORY_FALLBACK_MASTER . '/post';
|
||||
}
|
||||
$url = $directory['url'] . '/post';
|
||||
|
||||
// ensure the upstream directory is updated
|
||||
|
||||
|
||||
Reference in New Issue
Block a user