[dev] Problem with compression and bufferOutput call?
Chuck Hagenbuch
chuck at horde.org
Wed Jul 30 05:10:59 PDT 2003
Quoting Chris <chris at jeks.net>:
> Out of the 21 or so times bufferOutput is used, 14 of them are just
> require's and include's of files. I just found it odd that this simple
> action (for which there is a PHP primitive now - file_get_contents())
> was wrapped in something like this.
How is file_get_contents() equivalent? The files being included contain PHP code
that needs to be parsed. Secondarily, we are not requiring people to have PHP
4.3 or later, which is when file_get_contents() was introduced.
> Every other function that uses bufferOutput is internal to Horde.
... and many/most of them include templates.
-chuck
--
Charles Hagenbuch, <chuck at horde.org>
They're just looking at a wall of meat.
More information about the dev
mailing list