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

Need compile filename method

 
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 -> Feature Requests
View previous topic :: View next topic  
Author Message
luizkim
Smarty n00b


Joined: 03 May 2014
Posts: 3

PostPosted: Tue May 20, 2014 3:06 pm    Post subject: Need compile filename method 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
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 -> Feature Requests 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