1
1
Fork 0

Make the hardcoded path to dir.friendica.com configurable

This commit is contained in:
Michael Vogel 2015-08-23 11:05:10 +02:00
commit 123ad84689
7 changed files with 17 additions and 8 deletions

View file

@ -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) {