[SMARTY] bug: unable to modify header
| From: | Ronan PAUL | Date: | Mon, 03 Mar 2003 18:24:39 +0000 |
| Subject: | [SMARTY] bug: unable to modify header | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-8344@lists.php.net to get a copy of this message | ||
I can't send any header (including sending cookie) after the smarty class has been included.
It seems that there is an empty line at the very bottom of the Smarty.class.php file (right after the ?>) which causes an output and prevents any header modification..
I looked at the cvs repository and it seems that this empty line is still here.
Removing it bring things back in order. I could not find any reason for this being the expected behavior, so I guess it is a bug.
Ronan
_________________________________________________________________
MSN Messenger : dialoguez en direct avec vos amis ! http://www.msn.fr/msger/default.asp