Re: Missing php close in cvs.php

Chuck Hagenbuch <[email protected]>
Newsgroups gmane.comp.horde.chora
Message-ID <[email protected]>
Quoting Steven Levin <[email protected]>:

> This is my first time posting to this list.  I wanted to say great job I
> love using chora.  Now let me get to the point I noticed that the closing
> php tag was missing from all of the php files I have looked in a couple
> of horde apps.  I am posting to this list because I first noticed it in
> cvs.php.
>
> http://cvs.horde.org/diff.php/chora/cvs.php?r1=1.130&r2=1.131&ty=h
>
> Can I ask, what is the purpose of this?

To avoid random errors or accidental sending of headers by stuff after a ?>
tag. It's never been required, it just adds lines and causes tons of
problems when people screw up their config files.

-chuck

--
Charles Hagenbuch, <[email protected]>
The alligators were there, too, in a bathtub inside the house.


-- 
Chora mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.