dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a57a78
)
Added the default parameter to fgets explicitly (1024) to make the
author
Matthias Jordan
<matjordan@users.mediawiki.org>
Thu, 14 Aug 2003 23:42:10 +0000
(23:42 +0000)
committer
Matthias Jordan
<matjordan@users.mediawiki.org>
Thu, 14 Aug 2003 23:42:10 +0000
(23:42 +0000)
install.php script work with newer PHP versions.
install.php
patch
|
blob
|
history
diff --git
a/install.php
b/install.php
index
8761881
..
e5aec8a
100644
(file)
--- 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; }