- Timestamp:
- Mar 3, 2009, 8:33:23 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/xpress_default/blocks/recent_posts_content_block_theme.php
r58 r95 1 1 <?php 2 if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;2 //if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ; 3 3 4 4 function recent_posts_content_block($options) … … 11 11 $selected = array_slice($options,5); // get allowed cats 12 12 $this_template = empty( $options[6] ) ? 'db:'.$mydirname.'_block_content.html' : trim( $options[6] ); 13 $mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname; 13 // $mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname; 14 $mydirpath = get_xpress_dir_path(); 14 15 15 16 $this_url = '/modules/'. $mydirname;
Note: See TracChangeset
for help on using the changeset viewer.