XPressME Integration Kit

Trac


Ignore:
Timestamp:
Jun 3, 2011, 10:30:52 AM (13 years ago)
Author:
toemon
Message:

wp_installer.php で拡張データベースのプレフィックスが正常に取得出来ないバグ修正

File:
1 edited

Legend:

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

    r786 r789  
    8383                $this->xoops_upload_url = $this->_get_xoops_upload_url(); 
    8484                $this->xoops_cache_path = $this->_get_xoops_cache_path(); 
    85         $this->module_path=dirname(dirname(__FILE__)); 
    86         $this->module_name=basename($this->module_path); 
     85        $this->module_name = basename(dirname(dirname(__FILE__))); 
     86        $this->module_path = $this->xoops_root_path . '/modules/' . $this->module_name; 
    8787                $this->module_url = $this->xoops_url . '/modules/' . $this->module_name; 
    8888                $this->xoops_lang =  @$GLOBALS["xoopsConfig"]['language']; 
Note: See TracChangeset for help on using the changeset viewer.