Changeset 43 for trunk/blocks
- Timestamp:
- Dec 23, 2008, 9:51:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/blocks/xpress_block_recent_comments.php
r41 r43 71 71 } 72 72 73 73 74 global $wpdb; 74 75 … … 82 83 83 84 require_once $mydirpath.'/include/xoops_block_cache.php'; 84 xpress_block_cache_write($mydirname,'recent_comments_block'. $Identification,$block); 85 $my_name = basename( __FILE__ ); 86 $blockID =get_block_id($mydirname,$my_name,$options); 87 xpress_block_cache_write($mydirname,'recent_comments_block'. $blockID, $block); 85 88 } else { 86 89 require_once $mydirpath.'/include/xoops_block_cache.php'; 87 $block = xpress_block_cache_read($mydirname,'recent_comments_block'. $Identification); 90 $my_name = basename( __FILE__ ); 91 $blockID =get_block_id($mydirname,$my_name,$options); 92 $block = xpress_block_cache_read($mydirname,'recent_comments_block'. $blockID); 88 93 } 89 94 return $block;
Note: See TracChangeset
for help on using the changeset viewer.