diff --git a/system/functions.php b/system/functions.php index 0d26f89c..76d7877d 100644 --- a/system/functions.php +++ b/system/functions.php @@ -931,11 +931,12 @@ function load_config_lua($filename) foreach($lines as $ln => $line) { $line = trim($line); - if(@$line[0] === '{' || @$line[0] === '}') { + if(isset($line[0]) && ($line[0] === '{' || $line[0] === '}')) { // arrays are not supported yet // just ignore the error continue; } + $tmp_exp = explode('=', $line, 2); if(strpos($line, 'dofile') !== false) {