fixed loading of large values
This commit is contained in:
parent
1270ae4e40
commit
d6dcd9c632
|
@ -358,7 +358,7 @@ class LAMConfig {
|
||||||
$file = @fopen($conffile, "r");
|
$file = @fopen($conffile, "r");
|
||||||
if (!$file) return false; // abort if file is not readable
|
if (!$file) return false; // abort if file is not readable
|
||||||
while (!feof($file)) {
|
while (!feof($file)) {
|
||||||
$line = fgets($file, 1024);
|
$line = fgets($file, 100000);
|
||||||
$line = trim($line); // remove spaces at the beginning and end
|
$line = trim($line); // remove spaces at the beginning and end
|
||||||
if (($line == "")||($line[0] == "#")) continue; // ignore comments and empty lines
|
if (($line == "")||($line[0] == "#")) continue; // ignore comments and empty lines
|
||||||
// search keywords
|
// search keywords
|
||||||
|
|
Loading…
Reference in New Issue