[pLog-svn] r580 - plog/trunk/class/action
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Sun Dec 26 12:29:22 GMT 2004
Author: oscar
Date: 2004-12-26 12:29:22 +0000 (Sun, 26 Dec 2004)
New Revision: 580
Modified:
plog/trunk/class/action/viewresourceaction.class.php
Log:
there was a bug in the generation of the cached view, it wasn't using the right cache id so we were always getting the same view
Modified: plog/trunk/class/action/viewresourceaction.class.php
===================================================================
--- plog/trunk/class/action/viewresourceaction.class.php 2004-12-26 12:03:39 UTC (rev 579)
+++ plog/trunk/class/action/viewresourceaction.class.php 2004-12-26 12:29:22 UTC (rev 580)
@@ -4,7 +4,6 @@
* @package action
*/
-
include_once( PLOG_CLASS_PATH."class/action/blogaction.class.php" );
include_once( PLOG_CLASS_PATH."class/view/errorview.class.php" );
include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
@@ -61,7 +60,8 @@
// initialize the view
$this->_view = new BlogView( $this->_blogInfo,
- VIEW_RESOURCE_TEMPLATE,
+ VIEW_RESOURCE_TEMPLATE,
+ SMARTY_VIEW_CACHE_CHECK,
Array( "resourceId" => $this->_resourceId,
"resourceName" => $this->_resourceName,
"albumName" => $this->_albumName,
@@ -120,4 +120,4 @@
return true;
}
}
-?>
+?>
\ No newline at end of file
More information about the pLog-svn
mailing list