From: Matthias Jordan Date: Thu, 14 Aug 2003 23:42:10 +0000 (+0000) Subject: Added the default parameter to fgets explicitly (1024) to make the X-Git-Tag: 1.1.0~334 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=2bd2427a6aefa22420128b55352b4382df2a60f9;p=lhc%2Fweb%2Fwiklou.git Added the default parameter to fgets explicitly (1024) to make the install.php script work with newer PHP versions. --- diff --git a/install.php b/install.php index 8761881877..e5aec8a999 100644 --- a/install.php +++ b/install.php @@ -195,7 +195,7 @@ function dbsource( $conn, $fname ) { $done = false; while ( ! feof( $fp ) ) { - $line = trim( fgets( $fp ) ); + $line = trim( fgets( $fp, 1024 ) ); $sl = strlen( $line ) - 1; if ( $sl < 0 ) { continue; }