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:
11e7c31
)
fix nasty error due to /dev/random exhaustion
author
Jens Frank
<jeluf@users.mediawiki.org>
Mon, 30 Aug 2004 20:23:36 +0000
(20:23 +0000)
committer
Jens Frank
<jeluf@users.mediawiki.org>
Mon, 30 Aug 2004 20:23:36 +0000
(20:23 +0000)
config/index.php
patch
|
blob
|
history
diff --git
a/config/index.php
b/config/index.php
index
0f6f235
..
2a6567b
100644
(file)
--- a/
config/index.php
+++ b/
config/index.php
@@
-791,7
+791,7
@@
function writeLocalSettings( $conf ) {
$ugly = ($conf->prettyURLs ? "# " : "");
$rights = ($conf->RightsUrl) ? "" : "# ";
- $file = @fopen( "/dev/random", "r" );
+ $file = @fopen( "/dev/
u
random", "r" );
if ( $file ) {
$proxyKey = bin2hex( fread( $file, 32 ) );
fclose( $file );