Changeset 835 for branches/Ver2.4/xpressme_integration_kit/admin
- Timestamp:
- Feb 9, 2013, 8:47:25 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Ver2.4/xpressme_integration_kit/admin/index.php
r736 r835 32 32 function admin_check_user_meta_prefix($is_report = false){ 33 33 global $xoopsModule; 34 $xoopsDB =& Database::getInstance();34 $xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection(); 35 35 36 36 $mydirname = basename(dirname(dirname(__FILE__))); … … 115 115 { 116 116 global $xoopsModule; 117 $xoopsDB =& Database::getInstance();117 $xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection(); 118 118 119 119 $mydirname = basename(dirname(dirname(__FILE__))); … … 541 541 include_once(dirname(__FILE__) . '/../include/general_functions.php'); 542 542 543 $xoopsDB =& Database::getInstance();543 $xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection(); 544 544 545 545 $xp_prefix = $GLOBALS['xoopsModule']->getInfo('dirname'); … … 614 614 { 615 615 global $xoopsModule; 616 $xoopsDB =& Database::getInstance();616 $xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection(); 617 617 $xp_prefix = $GLOBALS['xoopsModule']->getInfo('dirname'); 618 618 $xp_prefix = preg_replace('/wordpress/','wp',$xp_prefix);
Note: See TracChangeset
for help on using the changeset viewer.