From 2bd2427a6aefa22420128b55352b4382df2a60f9 Mon Sep 17 00:00:00 2001 From: Matthias Jordan Date: Thu, 14 Aug 2003 23:42:10 +0000 Subject: [PATCH] Added the default parameter to fgets explicitly (1024) to make the install.php script work with newer PHP versions. --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1