[pLog-svn] r492 - plog/trunk/class/template
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Tue Dec 14 13:30:32 GMT 2004
Author: oscar
Date: 2004-12-14 13:30:32 +0000 (Tue, 14 Dec 2004)
New Revision: 492
Modified:
plog/trunk/class/template/cachecontrol.class.php
Log:
caches should be cleared better now, but the summary cache still needs to be checked...
Modified: plog/trunk/class/template/cachecontrol.class.php
===================================================================
--- plog/trunk/class/template/cachecontrol.class.php 2004-12-14 13:11:57 UTC (rev 491)
+++ plog/trunk/class/template/cachecontrol.class.php 2004-12-14 13:30:32 UTC (rev 492)
@@ -88,13 +88,14 @@
if( !$config->getValue( "template_cache_enabled" ))
return false;
- $t = new CachedTemplate( null );
+ //$t = new CachedTemplate( null );
$tmpFolder = $config->getValue( "temp_folder" );
$blogTmpFolder = $tmpFolder."/".$blogId;
- $t->cache_dir = $blogTmpFolder;
- $t->compile_dir = $blogTmpFolder;
+ //$t->cache_dir = $blogTmpFolder;
+ //$t->compile_dir = $blogTmpFolder;
+ File::deleteDir( $blogTmpFolder, true );
- $t->clear_cache( null );
+ //$t->clear_cache( null );
$this->log->debug( "CACHE FOR BLOG $blogId EMPTIED!" );
More information about the pLog-svn
mailing list