Config: Use DIRECTORY_SEPARATOR in static method navigation()
refs #10246
This commit is contained in:
parent
633dca6b76
commit
bbd68457ae
|
@ -472,7 +472,11 @@ class Config implements Countable, Iterator, Selectable
|
|||
$filename = $type . 's.ini';
|
||||
}
|
||||
|
||||
return static::resolvePath(($username ? "preferences/$username/" : 'navigation/') . $filename);
|
||||
return static::resolvePath(
|
||||
($username ? 'preferences' . DIRECTORY_SEPARATOR . $username : 'navigation')
|
||||
. DIRECTORY_SEPARATOR
|
||||
. $filename
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue