XPressME Integration Kit

Trac


Ignore:
Timestamp:
Apr 23, 2010, 10:49:33 AM (15 years ago)
Author:
toemon
Message:

xoops_mod_wordpress060_alphaの複製モジュールからのアップデート対応 fixes#335

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/include/xpress_block_render.php

    r573 r583  
    8484                if (is_null($wpdb)){ 
    8585                        $xoopsDB =& Database::getInstance(); 
    86                         $wp_prefix = $mydirname; 
    87                         if ($wp_prefix == 'wordpress') $wp_prefix = 'wp'; 
     86                        $wp_prefix = preg_replace('/wordpress/','wp',$mydirname); 
    8887 
    8988                        $module_tbl = $xoopsDB->prefix($wp_prefix).'_options';   
Note: See TracChangeset for help on using the changeset viewer.