diff --git a/system/functions.php b/system/functions.php index add481e5..3ef7a8a2 100644 --- a/system/functions.php +++ b/system/functions.php @@ -982,11 +982,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(str_contains($line, 'dofile')) { $delimiter = '"';