Changeset 99 for trunk/wp-content/plugins/xpressme/include
- Timestamp:
- Mar 7, 2009, 11:05:20 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/plugins/xpressme/include/xpress_common_functions.php
r96 r99 1 1 <?php 2 global $xoops_config; 3 if (!is_object($xoops_config)){ // is call other modules 4 require_once dirname( __FILE__ ) .'/config_from_xoops.class.php' ; 5 $xoops_config = new ConfigFromXoops; 6 } 7 2 8 // xoops db 3 9 function get_xpress_dir_path() … … 27 33 return $ret; 28 34 } 35 36 function get_xoops_root_path() 37 { 38 global $xoops_config; 39 $ret =$xoops_config->xoops_root_path; 40 return $ret; 41 } 42 29 43 function get_wp_prefix() 30 44 { … … 118 132 $blockID = $block->bid; 119 133 $options = explode("|", $block->options); 120 134 121 135 $block_theme_file = get_block_file_path($mydirname,$inc_theme_file_name); 122 136 require_once $block_theme_file;
Note: See TracChangeset
for help on using the changeset viewer.