Commit 81aa9395 authored by Till Brehm's avatar Till Brehm

Ensure that config array is empty in ini parser.

parent fa1371ef
......@@ -34,6 +34,7 @@ class ini_parser{
//* Converts a ini string to array
public function parse_ini_string($ini) {
$this->config = array();
$ini = str_replace("\r\n", "\n", $ini);
$lines = explode("\n", $ini);
foreach($lines as $line) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment