mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
parent
8262f19c5a
commit
15bc83ec14
@ -267,6 +267,11 @@ class IniParser
|
|||||||
throw new ConfigurationError('Couldn\'t parse the INI file `%s\'', $path, $e);
|
throw new ConfigurationError('Couldn\'t parse the INI file `%s\'', $path, $e);
|
||||||
}
|
}
|
||||||
|
|
||||||
return Config::fromArray($configArray)->setConfigFile($file);
|
$unescaped = array();
|
||||||
|
foreach ($configArray as $section => $options) {
|
||||||
|
$unescaped[preg_replace('/\\\\(.)/', '\1', $section)] = $options;
|
||||||
|
}
|
||||||
|
|
||||||
|
return Config::fromArray($unescaped)->setConfigFile($file);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user