CC-2256 Airtime-upgrade.php does not upgrade the web app
This commit is contained in:
parent
54d39ce688
commit
23b1e1b0d9
1 changed files with 4 additions and 4 deletions
|
@ -192,9 +192,9 @@ class AirtimeIni
|
|||
$lines = file($p_filename);
|
||||
$n=count($lines);
|
||||
for ($i=0; $i<$n; $i++) {
|
||||
if (!in_array(substr($lines[$i], 0, 1), array('#', PHP_EOL))){
|
||||
if (strlen($lines[$i]) && !in_array(substr($lines[$i], 0, 1), array('#', PHP_EOL))){
|
||||
$info = explode("=", $lines[$i]);
|
||||
$values[trim(info[0]) = trim(info[1]);
|
||||
$values[trim($info[0])] = trim($info[1]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue