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/blocks/widget_block.php

    r495 r583  
    2323 
    2424                $selected = explode(',' , $widget_select); 
    25  
    26                 if ($mydirname == 'wordpress'){ 
    27                         $wp_prefix = 'wp_'; 
    28                 } else { 
    29                         $wp_prefix = $mydirname . '_'; 
    30                 } 
     25                $wp_prefix = preg_replace('/wordpress/','wp',$mydirname) . '_'; 
    3126                $xoopsDB =& Database::getInstance(); 
    3227                $myts =& MyTextSanitizer::getInstance(); 
Note: See TracChangeset for help on using the changeset viewer.