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:
5d1c1f1
)
Put a buffer size of 1024 (the default value) into the call to fgets so
author
Matthias Jordan
<matjordan@users.mediawiki.org>
Tue, 1 Jul 2003 08:17:55 +0000
(08:17 +0000)
committer
Matthias Jordan
<matjordan@users.mediawiki.org>
Tue, 1 Jul 2003 08:17:55 +0000
(08:17 +0000)
older PHP versions can run install.php, too.
install.php
patch
|
blob
|
history
diff --git
a/install.php
b/install.php
index
164c93c
..
8761881
100644
(file)
--- a/
install.php
+++ b/
install.php
@@
-176,7
+176,7
@@
function copydirectory( $source, $dest ) {
function readconsole() {
$fp = fopen( "php://stdin", "r" );
- $resp = trim( fgets( $fp ) );
+ $resp = trim( fgets( $fp
, 1024
) );
fclose( $fp );
return $resp;
}