Config: Use DIRECTORY_SEPARATOR in static method navigation()

refs #10246
This commit is contained in:
Johannes Meyer 2015-09-30 11:41:49 +02:00
parent 633dca6b76
commit bbd68457ae
1 changed files with 5 additions and 1 deletions

View File

@ -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
);
}
/**