XPressME Integration Kit

Trac


Ignore:
Timestamp:
Mar 9, 2010, 10:47:23 AM (14 years ago)
Author:
toemon
Message:

WordPressMU対応コードの削除 Fixes #294

File:
1 edited

Legend:

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

    r492 r531  
    3737        var $is_impress; 
    3838        var $impress_db_config_file; 
    39         var $is_wpmu; 
    40         var $mu_domain_current_site; 
    41         var $mu_path_current_site; 
    4239        var $wp_db_version; 
    4340        var $wp_version; 
     
    104101                $this->set_module_version(); 
    105102                $this->set_wp_version(); 
    106                 $this->set_mu_current_site(); 
    107103                $this->xpress_get_module_id(); 
    108104                $this->xoops_language = $this->xpress_get_xoops_config('language'); 
     
    292288        include dirname(dirname(__FILE__)) . '/wp-includes/version.php'; 
    293289         
    294         if (empty($wpmu_version)) 
    295                 $this->is_wpmu  = false; 
    296         else 
    297                 $this->is_wpmu  = true; 
    298          
    299290        $this->wp_db_version = $wp_db_version; 
    300291                 
     
    309300    } 
    310301     
    311     function set_mu_current_site(){ 
    312         $pattern = 'http:\/\/([^\/]*).*'; 
    313         if (preg_match('/' . $pattern . '/' ,$this->xoops_url,$matchs)){ 
    314                                 $this->mu_domain_current_site = $matchs[1]; 
    315                 } 
    316                  
    317         $pattern = 'http:\/\/[^\/]*(\/.*)'; 
    318         if (preg_match('/' . $pattern . '/' ,$this->module_url,$matchs)){ 
    319                                 $this->mu_path_current_site = $matchs[1] . '/'; 
    320                 } 
    321     } 
    322  
    323302        function xpress_get_xoops_config($config_name = '',$mid = 0){ 
    324303                $ret = ''; 
Note: See TracChangeset for help on using the changeset viewer.