mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +02:00
parent
07913238b3
commit
ea9bc6cebd
@ -475,9 +475,10 @@ class Config implements Countable, Iterator, Selectable
|
||||
if ($username) {
|
||||
$path = static::resolvePath(implode(DIRECTORY_SEPARATOR, array('preferences', $username, $filename)));
|
||||
if (realpath($path) === false) {
|
||||
$path = static::resolvePath(implode(DIRECTORY_SEPARATOR, array(
|
||||
'preferences', strtolower($username), $filename
|
||||
)));
|
||||
$path = static::resolvePath(implode(
|
||||
DIRECTORY_SEPARATOR,
|
||||
array('preferences', strtolower($username), $filename)
|
||||
));
|
||||
}
|
||||
} else {
|
||||
$path = static::resolvePath('navigation' . DIRECTORY_SEPARATOR . $filename);
|
||||
|
Loading…
x
Reference in New Issue
Block a user