There is now only one central parameter for the global directory.

This commit is contained in:
Michael Vogel 2015-09-15 22:29:02 +02:00
parent 6b744aa71c
commit 5ac38b7f99
19 changed files with 92 additions and 99 deletions

View file

@ -1224,7 +1224,7 @@ function update_suggestions() {
$done[] = $a->get_baseurl() . '/poco';
if(strlen(get_config('system','directory_submit_url'))) {
if(strlen(get_config('system','directory'))) {
$x = fetch_url(get_server()."/pubsites");
if($x) {
$j = json_decode($x);