Merge pull request #1890 from annando/1509-directory

There is now only one central parameter for the global directory.
This commit is contained in:
Tobias Diekershoff 2015-09-15 22:48:34 +02:00
commit bca4d31410
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);