cvs: phpweb / mirror-info.php
| From: | Gabor Hojtsy | Date: | Fri, 06 Aug 2004 11:58:44 +0000 |
| Subject: | cvs: phpweb / mirror-info.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-25713@lists.php.net to get a copy of this message | ||
goba Fri Aug 6 07:58:44 2004 EDT
Modified files:
/phpweb mirror-info.php
Log:
try to flush a php.ini started output buffer (problem noticed by shimi)
http://cvs.php.net/diff.php/phpweb/mirror-info.php?r1=1.14&r2=1.15&ty=u
Index: phpweb/mirror-info.php
diff -u phpweb/mirror-info.php:1.14 phpweb/mirror-info.php:1.15
--- phpweb/mirror-info.php:1.14 Wed Aug 20 13:06:20 2003
+++ phpweb/mirror-info.php Fri Aug 6 07:58:44 2004
@@ -32,6 +32,11 @@
echo "$MYSITE|", phpversion(), "|$LAST_UPDATED|$searchtype|$mirror_stats|" ,
default_language(), "|";
+// Try to flush an output buffer which was
+// started in php.ini, so the virtual() is really
+// output after the info above
+ob_flush();
+
// Test if there is a /manual alias
$correctmanual = @virtual("/manual/noalias.txt");
if (!$correctmanual) { echo "manual-alias"; }