- Timestamp:
- Feb 9, 2013, 8:47:25 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Ver2.4/xpressme_integration_kit/include/sitemap.plugin.php
r583 r835 64 64 global $sitemap_configs; 65 65 66 $xoopsDB =& Database::getInstance();66 $xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection(); 67 67 68 68 $sitemap = array(); … … 150 150 if( ! function_exists( 'get_blog_option' ) ) { 151 151 function get_blog_option($option_table,$option_name){ 152 $xoopsDB =& Database::getInstance();152 $xoopsDB =& XoopsDatabaseFactory::getDatabaseConnection(); 153 153 154 154 $sql = "SELECT option_value FROM $option_table WHERE option_name = '" . $option_name . "'";
Note: See TracChangeset
for help on using the changeset viewer.