XPressME Integration Kit

Trac

Changeset 697


Ignore:
Timestamp:
Mar 31, 2011, 5:25:05 PM (13 years ago)
Author:
toemon
Message:

xoops2.4,2.5でブロックのキャッシュが読み込みできないバグ修正 Fixes#396

File:
1 edited

Legend:

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

    r669 r697  
    4848        var $xoops_db_charset; 
    4949        var $xoops_db_pconnect; 
     50        var $xoops_path; 
    5051         
    5152        function __constructor()        //for PHP5 
     
    138139                                                $this->module_url = $this->xoops_url . '/modules/' . $this->module_name; 
    139140                                                break; 
     141                                        case  'XOOPS_PATH': 
     142                                                $this->xoops_path = $this->xpress_eval($key_value);                                              
    140143                                        case  'XOOPS_TRUST_PATH': 
    141144                                                $this->xoops_trust_path = $this->xpress_eval($key_value); 
     145                                                if ($this->xoops_trust_path ==  'XOOPS_PATH') 
     146                                                        $this->xoops_trust_path = $this->xoops_path; 
    142147                                                break; 
    143148                                        case  'XOOPS_DB_PREFIX': 
Note: See TracChangeset for help on using the changeset viewer.