Changeset 483
- Timestamp:
- Dec 11, 2009, 2:40:54 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/include/xpress_block_render.php
r482 r483 181 181 $blockID =get_block_id($mydirname,$func_file,$options); 182 182 183 if (function_exists('get_option')) 184 $this_url = str_replace( $xoops_config->xoops_url , '' , get_option('home')); 185 else 186 $this_url = $mydirname; 187 183 $this_block_url = '/' . $mydirname . '/'; 188 184 $call_url = $_SERVER['REQUEST_URI']; 185 189 186 xpress_block_css_set($mydirname); 190 if (str cmp($call_url,$this_url)==0){187 if (strstr($call_url , $this_block_url) !== false){ 191 188 $block_theme_file = get_block_file_path($mydirname,$inc_theme_file_name); 192 189 require_once $block_theme_file['file_path'];
Note: See TracChangeset
for help on using the changeset viewer.