- Timestamp:
- May 19, 2011, 6:47:15 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Ver3.0/xpressme_integration_kit/class/modInfo_class.php
r747 r749 133 133 134 134 function is_wpdb_installed(){ 135 global $xoopsDB; 135 136 $mydirname = basename(dirname( dirname( __FILE__ ) )) ; 136 137 $prefix_mod = XOOPS_DB_PREFIX .'_' . preg_replace('/wordpress/','wp',$mydirname) . '_'; 137 $xoopsDB =& Database::getInstance();138 138 $sql = "SHOW TABLES LIKE '$prefix_mod%'"; 139 139 if ($result = $xoopsDB->queryf($sql)){
Note: See TracChangeset
for help on using the changeset viewer.