- 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_comments_block_theme.php
r49 r95 1 1 <?php 2 if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ;2 //if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ; 3 3 4 4 function recent_comments_block($options) … … 9 9 $selected = array_slice($options,3); // get allowed cats 10 10 $this_template = empty( $options[4] ) ? 'db:'.$mydirname.'_block_comments.html' : trim( $options[4] ); 11 $mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname;12 11 // $mydirpath = XOOPS_ROOT_PATH . '/modules/' . $mydirname; 12 $mydirpath = get_xpress_dir_path(); 13 13 $this_url = '/modules/'. $mydirname; 14 14 $call_url = $_SERVER['REQUEST_URI'];
Note: See TracChangeset
for help on using the changeset viewer.