svn: /pear/pear-core/trunk/ go-pear-phar.php install-pear.php
| From: | Helgi Þormar Þorbjörnsson | Date: | Mon, 28 Feb 2011 16:18:46 +0000 |
| Subject: | svn: /pear/pear-core/trunk/ go-pear-phar.php install-pear.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-61308@lists.php.net to get a copy of this message | ||
dufuz Mon, 28 Feb 2011 16:18:46 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=308763
Log:
Allow us to run even if output buffering is turned on. Up to PHP 5.2.3 (apparently) there is OB
settings turned on
Changed paths:
U pear/pear-core/trunk/go-pear-phar.php
U pear/pear-core/trunk/install-pear.php
Modified: pear/pear-core/trunk/go-pear-phar.php
===================================================================
--- pear/pear-core/trunk/go-pear-phar.php 2011-02-28 15:46:41 UTC (rev 308762)
+++ pear/pear-core/trunk/go-pear-phar.php 2011-02-28 16:18:46 UTC (rev 308763)
@@ -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;
Modified: pear/pear-core/trunk/install-pear.php
===================================================================
--- pear/pear-core/trunk/install-pear.php 2011-02-28 15:46:41 UTC (rev 308762)
+++ pear/pear-core/trunk/install-pear.php 2011-02-28 16:18:46 UTC (rev 308763)
@@ -1,5 +1,5 @@
<?php
-
+while (@ob_end_flush());
/* $Id$ */
error_reporting(1803);