|
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 |
danielking Smarty Rookie
Joined: 02 May 2003 Posts: 5
|
Posted: Fri May 02, 2003 4:40 am Post subject: problem with clear_cache() |
|
|
[php]
<?
@mysql_close();
$end=explode(" ",microtime());
$end=$end[1]+$end[0];
$proctime=$end-$start;
$ka->clear_cache('footer.tpl');
$ka->assign(array(
"proctime"=>$proctime
));
$ka->display("footer.tpl");
?>
[/php]
$ka->caching=true
every time $proctime was surely not the same, but this script displayed the same thing. the function clear_cache() seemed take no effect.
either "chmod"ing all files and subdirs to 777 in cache directory or deleting them was useless. |
|
Back to top |
|
danielking Smarty Rookie
Joined: 02 May 2003 Posts: 5
|
Posted: Fri May 02, 2003 9:06 am Post subject: |
|
|
i solved this problem
there was something wrong with setting the cache path, hoho |
|
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
|