Upgrade Script:

Fixed possible bug where values with "=" characters will not be read correctly by
the inhouse ini reader.
This commit is contained in:
Rudi Grinberg 2012-08-20 16:05:26 -04:00
parent 51fc87c638
commit b2158d48f5
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ class AirtimeIni
$n=count($lines);
for ($i=0; $i<$n; $i++) {
if (strlen($lines[$i]) && !in_array(substr($lines[$i], 0, 1), array('#', PHP_EOL))){
$info = explode("=", $lines[$i]);
$info = explode("=", $lines[$i], 2);
$values[trim($info[0])] = trim($info[1]);
}
}