View previous topic
::
View next topic
|
Author |
Message |
ramon fincken Site's programmer
 Get a free globally recognized avatar It's free!
Joined: 03 Aug 2007 Posts: 416 Location: A'dam/Diemen, The Netherlands
|
Posted: Fri Nov 14, 2008 3:55 pm Post subject: [solution] Force Smarty to recompile your template upon every visitor |
|
|
You know the feeling, just when you are testing, the darn thing won't simply see that the template file has changed and serves you the cached version.
Here is the solution:
Code: | $smarty->force_compile = true; |
So you'll end up with something like:
Code: | require './smarty/Smarty.class.php';
$smarty = new Smarty;
$smarty->force_compile = true; |
|
|
Back to top |
|
 |
Google adsense Advertisement
|
Posted: Fri Nov 14, 2008 3:55 pm Post subject: [solution] Force Smarty to recompile your template upon every visitor |
|
|
Advertisement
|
|
Back to top |
|
 |
GravityForms Advertisement
|
Posted: Fri Nov 14, 2008 3:55 pm Post subject: [solution] Force Smarty to recompile your template upon every visitor |
|
|
Advertisement
 |
|
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
|
|
|
|