merged branch real-chocopanda/ob_fix (PR #379)
merged branch real-chocopanda/ob_fix (PR #379)

Commits
-------

75748a5 revert accidental mode change
681d2b8 fix nested buffers issue #374

Discussion
----------

fix nested buffers issue #374

see #374 for details

---------------------------------------------------------------------------

by fabpot at 2011/07/09 01:02:50 -0700

You have inadvertently changed the mode to 0755. Should stay at 0644.

---------------------------------------------------------------------------

by macolu at 2011/07/09 03:07:42 -0700

Mode change reverted.

About this Windows bug... Are you talking about the zlib issue? When zlib compression is activated, it adds a buffer level that ob_end_clean() can't close. So  ob_get_level() never go below 1.

http://cksource.com/forums/viewtopic.php?t=21653
http://www.php.net/manual/fr/function.ob-get-level.php#52945

In that case, the first ob_get_level() call will always return something greater than 0. So $level var will be > 0. This should avoid infinite loops.

znerol/Twig,bocharsky-bw/Twig,Rvanlaak/Twig,bocharsky-bw/Twig,craue/Twig,derickr/Twig,hhamon/Twig,moltin/Twig,iKwinto/Twig,framewr/Twig,znerol/Twig,iKwinto/Twig,huang53798584/Twig,Rvanlaak/Twig,nicolas-grekas/Twig,moltin/Twig,phansys/Twig,andrerom/Twig,gamernetwork/Twig,derickr/Twig,twigphp/Twig,markstory/Twig,framewr/Twig,framewr/Twig,twigphp/Twig,fsw/Twig,gamernetwork/Twig,nicolas-grekas/Twig,huang53798584/Twig,dkarvounaris/Twig,hhamon/Twig,nicolas-grekas/Twig,hason/Twig,Tobion/Twig,hason/Twig,dkarvounaris/Twig,nicolas-grekas/Twig,robregonm/Twig,nicolas-grekas/Twig,sstok/Twig,derickr/Twig,peterkokot/Twig,apishka/templater,Tobion/Twig,gencer/Twig,markstory/Twig,Rvanlaak/Twig,gencer/Twig,robregonm/Twig,jamessingizi/Twig,Tobion/Twig,moufmouf/Twig,bocharsky-bw/Twig,andrerom/Twig,moltin/Twig,hhamon/Twig,huang53798584/Twig,sstok/Twig,dkarvounaris/Twig,apishka/templater,twigphp/Twig,phansys/Twig,peterkokot/Twig,fsw/Twig,gamernetwork/Twig,jamessingizi/Twig,hason/Twig,moufmouf/Twig,robregonm/Twig,maartendekeizer/Twig,fsw/Twig,znerol/Twig,loi-chuanoi/Twig,jamessingizi/Twig,moufmouf/Twig,iKwinto/Twig,maartendekeizer/Twig,craue/Twig