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:
77c833c
)
BUG#1509 - fix handling of unlimited setting '-1' for memory_limit
author
Jens Frank
<jeluf@users.mediawiki.org>
Tue, 26 Apr 2005 20:01:28 +0000
(20:01 +0000)
committer
Jens Frank
<jeluf@users.mediawiki.org>
Tue, 26 Apr 2005 20:01:28 +0000
(20:01 +0000)
config/index.php
patch
|
blob
|
history
diff --git
a/config/index.php
b/config/index.php
index
17d34fb
..
0bd6198
100644
(file)
--- a/
config/index.php
+++ b/
config/index.php
@@
-269,7
+269,7
@@
if( $conf->xml ) {
$memlimit = ini_get( "memory_limit" );
$conf->raiseMemory = false;
-if( empty( $memlimit ) ) {
+if( empty( $memlimit )
|| $memlimit == -1
) {
print "<li>PHP is configured with no <tt>memory_limit</tt>.</li>\n";
} else {
print "<li>PHP's <tt>memory_limit</tt> is " . htmlspecialchars( $memlimit ) . ". <strong>If this is too low, installation may fail!</strong> ";