Re: cvs: pear /Cache OutputCompression.php
| From: | Christian Stocker | Date: | Thu, 25 Apr 2002 08:38:12 +0000 |
| Subject: | Re: cvs: pear /Cache OutputCompression.php | ||
| References: | 1 2 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-3542@lists.php.net to get a copy of this message | ||
In <20020425053951.GB6137@schnuffel.thieso.net>, Thies C. Arntzen wrote:
> On Thu, Apr 25, 2002 at 05:21:16AM -0000, Naoki Shima wrote:
>> murahachibu Thu Apr 25 01:21:16 2002 EDT
>>
>> Modified files:
>> /pear/Cache OutputCompression.php
>> Log:
>> Workaround fix for possible PHP Output buffering bug
>
> could you please explain this?
My 2 Cents:
You (Naoki) will eventually break some scripts with that....
inserting a die, where none was there before, is maybe not an elegant
solution (can't think of an example right at the moment, but the
possibility is there that someone does some stuff after
printContent()...)
chregu
>
> tc
>>
>> Index: pear/Cache/OutputCompression.php diff -u
>> pear/Cache/OutputCompression.php:1.4
>> pear/Cache/OutputCompression.php:1.5 ---
>> pear/Cache/OutputCompression.php:1.4 Wed Apr 3 22:39:31 2002 +++
>> pear/Cache/OutputCompression.php Thu Apr 25 01:21:16 2002 @@ -50,7
>> +50,7 @@
>> *
>> * Based upon a case study from Christian Stocker and inspired by
>> jpcache. *
>> -* @version $Id: OutputCompression.php,v 1.4 2002/04/04 03:39:31
>> murahachibu Exp $ +* @version $Id: OutputCompression.php,v 1.5
>> 2002/04/25 05:21:16 murahachibu Exp $
>> * @author Ulf Wendel <ulf.wendel@phpdoc.de>, Christian Stocker
>> <chregu@phant.ch> * @access public
>> * @package Cache
>> @@ -199,7 +199,7 @@
>>
>>
>>
>> - print $content;
>> + die($content);
>> } // end func printContent
>>
>>
>>
>>
>>
>> --
>> PEAR CVS Mailing List (http://pear.php.net/) To unsubscribe, visit:
>> http://www.php.net/unsub.php