Changeset 835 for branches/Ver2.4/xpressme_integration_kit/blocks
- Timestamp:
- Feb 9, 2013, 8:47:25 AM (12 years ago)
- Location:
- branches/Ver2.4/xpressme_integration_kit/blocks
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Ver2.4/xpressme_integration_kit/blocks/block_common.php
r829 r835 24 24 $mydirname = basename( dirname( dirname( __FILE__ ) ) ) ; 25 25 $wp_prefix = preg_replace('/wordpress/','wp',$mydirname) . '_'; 26 $xoopsDB =& Database::getInstance();26 $xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection(); 27 27 $myts =& MyTextSanitizer::getInstance(); 28 28 $selected = explode(',' , $value); … … 97 97 $mydirname = basename( dirname( dirname( __FILE__ ) ) ) ; 98 98 $wp_prefix = preg_replace('/wordpress/','wp',$mydirname) . '_'; 99 $xoopsDB =& Database::getInstance();99 $xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection(); 100 100 $myts =& MyTextSanitizer::getInstance(); 101 101 $selected = explode(',' , $value); -
branches/Ver2.4/xpressme_integration_kit/blocks/widget_block.php
r583 r835 24 24 $selected = explode(',' , $widget_select); 25 25 $wp_prefix = preg_replace('/wordpress/','wp',$mydirname) . '_'; 26 $xoopsDB =& Database::getInstance();26 $xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection(); 27 27 $myts =& MyTextSanitizer::getInstance(); 28 28
Note: See TracChangeset
for help on using the changeset viewer.