Changeset 687 for trunk/xpressme_integration_kit/xoops_version.php
- Timestamp:
- Feb 27, 2011, 2:25:21 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/xoops_version.php
r684 r687 58 58 $wp_prefix = preg_replace('/wordpress/','wp',$mydirname); 59 59 $wp_blogs_tbl = $xoopsDB->prefix($wp_prefix) . '_blogs'; 60 $sql = "S ELECT * FROM " . $wp_blogs_tbl;61 $result = $xoopsDB->query ($sql, 0, 0);60 $sql = "SHOW TABLES LIKE '$wp_blogs_tbl'"; 61 $result = $xoopsDB->queryf($sql, 0, 0); 62 62 if ($xoopsDB->getRowsNum($result)) return true; 63 63 return false;
Note: See TracChangeset
for help on using the changeset viewer.