From d6dcd9c6328edb91005f0b03e6abae822d925bb8 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Fri, 30 Nov 2012 19:17:55 +0000 Subject: [PATCH] fixed loading of large values --- lam/lib/config.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/lib/config.inc b/lam/lib/config.inc index f69ae61a..3bcc8ff9 100644 --- a/lam/lib/config.inc +++ b/lam/lib/config.inc @@ -358,7 +358,7 @@ class LAMConfig { $file = @fopen($conffile, "r"); if (!$file) return false; // abort if file is not readable while (!feof($file)) { - $line = fgets($file, 1024); + $line = fgets($file, 100000); $line = trim($line); // remove spaces at the beginning and end if (($line == "")||($line[0] == "#")) continue; // ignore comments and empty lines // search keywords