Cosmetic changes, some PHP8.x warning fixes

This commit is contained in:
JRGTH
2022-08-28 06:22:37 -04:00
parent b519448846
commit a3829b1d3f
5 changed files with 5 additions and 2 deletions

View File

@@ -80,6 +80,7 @@ function htmlButton($name, $text, $value="", $title="", $confirm="", $buttonImag
}
function parseConfigFile($configFile) {
global $section;
$fileArray = file($configFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); // load config file content to array
$configArray = array();
foreach($fileArray as $line) { // create array from config