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

@ -129,7 +129,7 @@ function nav_info(&$a) {
$gdirpath = 'directory';
if(strlen(get_config('system','singleuser'))) {
$gdir = dirname(get_config('system','directory_submit_url'));
$gdir = get_config('system','directory');
if(strlen($gdir))
$gdirpath = $gdir;
}