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
commit 5ac38b7f99
19 changed files with 92 additions and 99 deletions

View file

@ -36,7 +36,7 @@ function user_allow($hash) {
);
if(count($r) && $r[0]['net-publish']) {
$url = $a->get_baseurl() . '/profile/' . $user[0]['nickname'];
if($url && strlen(get_config('system','directory_submit_url')))
if($url && strlen(get_config('system','directory')))
proc_run('php',"include/directory.php","$url");
}