Re: [SMARTY] cache .xml files

"[email protected]" <[email protected]> Fri, 29 Jun 2007 11:54:36 +0200
Newsgroups gmane.comp.php.smarty.general
Message-ID <[email protected]>
messju mohr wrote:
> you must not expose the cache files directly to the client but have to
> deliver them via $smarty->fetch() or $smarty->display(). set the
> correct content-type with php's header() function to please your
> clients.

Right... I got confused by the .html extension of the cached files. How 
does it work right now - who sends the headers when cached file is sent 
to the client and why if I send header() before $smarty->display() - 
they will not get overwritten by the headers sent when 
$smarty->display() is called.

Sorry if the question is stupid but I can't figure it out...

Iv

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php