|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
luizkim Smarty n00b
Joined: 03 May 2014 Posts: 3
|
Posted: Tue May 27, 2014 9:18 pm Post subject: Compiled filename |
|
|
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 |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Thu May 29, 2014 11:51 am Post subject: |
|
|
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 |
|
|
|
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
|