Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Compiled filename

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
luizkim
Smarty n00b


Joined: 03 May 2014
Posts: 3

PostPosted: Tue May 27, 2014 9:18 pm    Post subject: Compiled filename Reply with quote

I need the filename to smarty compile file.

For exemple:


Code:

$smarty = new Smarty();
$content = $smarty->fetch('final.tpl');
echo $smarty->getCompileFilename();


this code prints this:
d946d44ce19b107d73921025210b1fe9c6cbc8b9.file.final.tpl.php

I need the filename for send headers cache.

Tks...
Back to top
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 5068
Location: Hamburg / Germany

PostPosted: Thu May 29, 2014 11:51 am    Post subject: Reply with quote

This is the filename of the compiled template file in the templates_c folder. I don't understand what you wanted to do, but this name has nothing todo with HTTP-Header.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP