XPressME Integration Kit

Trac


Ignore:
Timestamp:
May 19, 2011, 6:47:15 PM (14 years ago)
Author:
toemon
Message:

Database::getInstance()を使わずに、global $xoopsDB を使用する。(xoops3対策)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Ver3.0/xpressme_integration_kit/include/data.inc.php

    r583 r749  
    250250if( ! function_exists( 'get_blog_option' ) ) { 
    251251        function get_blog_option($option_table,$option_name){ 
    252                 $xoopsDB =& Database::getInstance(); 
     252                global $xoopsDB; 
    253253 
    254254                $sql = "SELECT option_value FROM $option_table WHERE option_name = '" . $option_name . "'"; 
Note: See TracChangeset for help on using the changeset viewer.