mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
parent
ff87588d96
commit
9bab7c0323
@ -165,6 +165,10 @@ class Config extends Zend_Config
|
||||
*/
|
||||
public static function resolvePath($path)
|
||||
{
|
||||
if (Platform::isWindows()) {
|
||||
throw new ProgrammingError('Windows support has not yet been implemented');
|
||||
}
|
||||
|
||||
if (strpos($path, DIRECTORY_SEPARATOR) === 0 || self::$configDir === false) {
|
||||
return $path;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user