XPressME Integration Kit

Trac


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/class/config_from_xoops.class.php

    r551 r583  
    9393                $this->xoops_upload_path = $this->xoops_root_path .'/uploads'; 
    9494                $this->xoops_upload_url = $this->xoops_url . '/uploads'; 
    95                  
    96                 if ($this->module_name == 'wordpress') 
    97                         $this->module_db_prefix =  $this->xoops_db_prefix  . '_wp_'; 
    98                 else 
    99                         $this->module_db_prefix =  $this->xoops_db_prefix  . '_' . $this->module_name . '_'; 
     95                $this->module_db_prefix = $this->xoops_db_prefix  . '_' . preg_replace('/wordpress/','wp',$this->module_name) . '_'; 
    10096                 
    10197                $this->set_module_version(); 
Note: See TracChangeset for help on using the changeset viewer.