Increase potential config line size. HTML snippets can easily be larger than 256
parent
6aa39892f6
commit
18ef01bd8d
|
|
@ -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) ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue