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...
1 parent c70135a commit 7ad50d0d692df40774ddbcb43d3362bf86bf6006 dufuz committed Feb 28, 2011
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);

0 comments on commit 7ad50d0

Please sign in to comment.