mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:50:12 +00:00
There is now only one central parameter for the global directory.
This commit is contained in:
parent
6b744aa71c
commit
5ac38b7f99
19 changed files with 92 additions and 99 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue