mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 15:54:03 +02:00
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';
|
$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…
x
Reference in New Issue
Block a user