--- mambo/branches/4.6/components/com_content/content.php 2008/03/19 15:15:13 1647 +++ mambo/branches/4.6/components/com_content/content.php 2008/03/20 04:13:15 1648 @@ -1109,7 +1109,9 @@ function show( $row, $params, $gid, &$access, $pop, $option, $ItemidCount=NULL ) { global $database, $mainframe, $Itemid; global $mosConfig_live_site, $mosConfig_absolute_path; - global $options, $cache; + global $options; + + $cache = mosCache::getCache('com_content','Output'); $noauth = !$mainframe->getCfg( 'shownoauth' ); @@ -1215,8 +1217,10 @@ $obj = new mosContent( $database ); $obj->hit( $row->id ); } - - $cache->call( 'HTML_content::show', $row, $params, $access, $page, $option, $ItemidCount ); + if(!($cache->start($row->id,'com_content'))){ + HTML_content::show( $row, $params, $access, $page, $option, $ItemidCount ); + $cache->end(); + } }