Use parse_ini_string() where IniParser::parseIni() is not needed

refs #2766
This commit is contained in:
Alexander A. Klimov 2017-02-23 15:45:57 +01:00
parent b0221c5e13
commit 56d71c5cb6
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}