Changeset 583 for trunk/xpressme_integration_kit/include/data.inc.php
- Timestamp:
- Apr 23, 2010, 10:49:33 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/include/data.inc.php
r426 r583 31 31 global $xoopsDB; 32 32 33 if ($mydirname == 'wordpress'){ 34 $wp_prefix = 'wp'; 35 } else { 36 $wp_prefix = $mydirname; 37 } 33 $wp_prefix = preg_replace('/wordpress/','wp',$mydirname); 38 34 require_once (XOOPS_ROOT_PATH . '/modules/'.$mydirname . '/include/general_functions.php'); 39 35 include(XOOPS_ROOT_PATH . '/modules/'.$mydirname . '/wp-includes/version.php'); … … 163 159 164 160 global $xoopsDB; 165 166 if ($mydirname == 'wordpress'){ 167 $wp_prefix = 'wp'; 168 } else { 169 $wp_prefix = $mydirname; 170 } 161 $wp_prefix = preg_replace('/wordpress/','wp',$mydirname); 171 162 require_once (XOOPS_ROOT_PATH . '/modules/'.$mydirname . '/include/general_functions.php'); 172 163 $prefix = $xoopsDB->prefix($wp_prefix); … … 208 199 209 200 global $xoopsDB; 210 211 if ($mydirname == 'wordpress'){ 212 $wp_prefix = 'wp'; 213 } else { 214 $wp_prefix = $mydirname; 215 } 201 $wp_prefix = preg_replace('/wordpress/','wp',$mydirname); 216 202 217 203 require_once (XOOPS_ROOT_PATH . '/modules/'.$mydirname . '/include/general_functions.php');
Note: See TracChangeset
for help on using the changeset viewer.