[dev] Re: [cvs] commit: horde javascript.php

Jan Schneider jan at horde.org
Wed Jan 15 11:27:33 PST 2003


Zitat von Chuck Hagenbuch <chuck at horde.org>:

> chuck       2003/01/14 19:07:45 PST
> 
>   Modified files:
>     .                    javascript.php
>   Log:
>   Shuffle things around so the correct Content-Type is sent. I'm not
>   entirely sure *why* this works, but it does.
> 
>   Revision  Changes    Path
>   1.11      +4 -3      horde/javascript.php

I know. NLS::setTextdomain() sends the Content-Type header to include the
charset. If pushApp() (that calls NLS::setTextdomain) is called _before_ the
header call in javascript.php, the header gets overwritten.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the dev mailing list