Increase potential config line size. HTML snippets can easily be larger than 256

pull/4707/merge
Isaac Connor 2026-03-12 09:28:37 -04:00
parent 6aa39892f6
commit 18ef01bd8d
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ function process_configfile($configFile) {
if (is_readable($configFile)) {
$cfg = fopen($configFile, 'r') or error_log('Could not open config file: '.$configFile);
while ( !feof($cfg) ) {
$str = fgets($cfg, 256);
$str = fgets($cfg, 512);
if ( preg_match('/^\s*(#.*)?$/', $str) ) {
continue;
} else if ( preg_match('/^\s*([^=\s]+)\s*=\s*[\'"]*(.*?)[\'"]*\s*$/', $str, $matches) ) {