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:
3a6a9da
)
Make sure output buffering is off for install scripts
author
Brion Vibber
<brion@users.mediawiki.org>
Sat, 13 Mar 2004 06:29:39 +0000
(06:29 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sat, 13 Mar 2004 06:29:39 +0000
(06:29 +0000)
install-utils.inc
patch
|
blob
|
history
diff --git
a/install-utils.inc
b/install-utils.inc
index
55e712c
..
608c6ab
100644
(file)
--- a/
install-utils.inc
+++ b/
install-utils.inc
@@
-1,6
+1,9
@@
<?php
function install_version_checks() {
+ # Turn off output buffering if it's on
+ @ob_end_flush();
+
if( !function_exists( "version_compare" ) ) {
# version_compare was introduced in 4.1.0
die( "Your PHP version is much too old; 4.0.x will _not_ work. 4.3.2 or higher is recommended. ABORTING.\n" );