mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Use parse_ini_string() where IniParser::parseIni() is not needed
refs #2766
This commit is contained in:
parent
b0221c5e13
commit
56d71c5cb6
@ -260,6 +260,6 @@ class IniParser
|
||||
throw new NotReadableError('Couldn\'t read the file `%s\'', $path);
|
||||
}
|
||||
|
||||
return Config::fromArray(self::parseIni($content)->toArray())->setConfigFile($file);
|
||||
return Config::fromArray(parse_ini_string($content, true))->setConfigFile($file);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user