| 1111 |
function show( $row, $params, $gid, &$access, $pop, $option, $ItemidCount=NULL ) { |
function show( $row, $params, $gid, &$access, $pop, $option, $ItemidCount=NULL ) { |
| 1112 |
global $database, $mainframe, $Itemid; |
global $database, $mainframe, $Itemid; |
| 1113 |
global $mosConfig_live_site, $mosConfig_absolute_path; |
global $mosConfig_live_site, $mosConfig_absolute_path; |
| 1114 |
global $options; |
global $options, $task; |
| 1115 |
|
|
| 1116 |
$cache = mosCache::getCache('com_content','Output'); |
$cache = mosCache::getCache('com_content','Output'); |
| 1117 |
|
|
| 1219 |
$obj = new mosContent( $database ); |
$obj = new mosContent( $database ); |
| 1220 |
$obj->hit( $row->id ); |
$obj->hit( $row->id ); |
| 1221 |
} |
} |
| 1222 |
if(!($cache->start($row->id.$page,'com_content'))){ |
if(!($cache->start($task.$row->id.$page,'com_content'))){ |
| 1223 |
HTML_content::show( $row, $params, $access, $page, $option, $ItemidCount ); |
HTML_content::show( $row, $params, $access, $page, $option, $ItemidCount ); |
| 1224 |
$cache->end(); |
$cache->end(); |
| 1225 |
} |
} |