Re: cvs: phpweb / mirror-info.php

From: Date: Fri, 06 Aug 2004 18:26:25 +0000
Subject: Re: cvs: phpweb / mirror-info.php
References: 1 2  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-25715@lists.php.net to get a copy of this message
Great. Goba
I rsynced my mirror, re-enabled output buffering in php.ini, and restarted apache. mirror-info does not have the bug anymore. Thanks. :) Shimi On Fri, 2004-08-06 at 14:58, Gabor Hojtsy wrote:
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"; }


« previous php.mirrors (#25715) next »