Make the hardcoded path to dir.friendica.com configurable
This commit is contained in:
parent
470920dbed
commit
123ad84689
7 changed files with 17 additions and 8 deletions
|
@ -1184,7 +1184,7 @@ function update_suggestions() {
|
|||
$done[] = $a->get_baseurl() . '/poco';
|
||||
|
||||
if(strlen(get_config('system','directory_submit_url'))) {
|
||||
$x = fetch_url('http://dir.friendica.com/pubsites');
|
||||
$x = fetch_url(get_server()."/pubsites");
|
||||
if($x) {
|
||||
$j = json_decode($x);
|
||||
if($j->entries) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue