Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Allow us to run even if output buffering is turned on. Up to PHP 5.2.…

…3 (apparently) there is OB settings turned on

git-svn-id: http://svn.php.net/repository/pear/pear-core/pear/pear-core/trunk@308763 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
commit 7ad50d0d692df40774ddbcb43d3362bf86bf6006 1 parent c70135a
dufuz authored
Showing with 3 additions and 1 deletion.
  1. +2 −0  go-pear-phar.php
  2. +1 −1  install-pear.php
View
2  go-pear-phar.php
@@ -1,4 +1,6 @@
<?php
+while (@ob_end_flush());
+
require_once 'PEAR/Start/CLI.php';
PEAR::setErrorHandling(PEAR_ERROR_DIE);
$a = new PEAR_Start_CLI;
View
2  install-pear.php
@@ -1,5 +1,5 @@
<?php
-
+while (@ob_end_flush());
/* $Id$ */
error_reporting(1803);
Please sign in to comment.
Something went wrong with that request. Please try again.