[pLog-svn] r5446 - plog/branches/lifetype-1.2/class/template
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Fri May 25 07:58:18 EDT 2007
Author: jondaley
Date: 2007-05-25 07:58:17 -0400 (Fri, 25 May 2007)
New Revision: 5446
Modified:
plog/branches/lifetype-1.2/class/template/cachedtemplate.class.php
Log:
reverting the revert of 5442. yes, as long as you clear your template cache after this change, you are okay. Thanks for debugging that Mark
Modified: plog/branches/lifetype-1.2/class/template/cachedtemplate.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/template/cachedtemplate.class.php 2007-05-25 03:22:01 UTC (rev 5445)
+++ plog/branches/lifetype-1.2/class/template/cachedtemplate.class.php 2007-05-25 11:58:17 UTC (rev 5446)
@@ -31,11 +31,6 @@
$config =& Config::getConfig();
$this->caching = $config->getValue( "template_cache_enabled");
$this->cache_lifetime = $config->getValue( "template_cache_lifetime" );
- //$this->cache_dir = $config->getValue( "temp_folder" )
-
- // whatever is between the {dynamic}...{/dynamic} tags shouldn't be cached
- $this->register_block('dynamic', "_smarty_nocache", false);
-
}
/**
@@ -101,14 +96,4 @@
return $timestamp;
}
}
-
-
- /**
- * @private
- * this tells smarty *not* to cache contents, in case we need it
- */
- function _smarty_nocache($param, $content, $smarty )
- {
- return $content;
- }
?>
More information about the pLog-svn
mailing list