mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
try to flush a php.ini started output buffer (problem noticed by shimi)
This commit is contained in:
@@ -32,6 +32,11 @@ if (isset($_SERVER['MIRROR_STATS']) && $_SERVER['MIRROR_STATS'] == '1') {
|
||||
|
||||
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"; }
|
||||
|
||||
Reference in New Issue
Block a user