XPressME Integration Kit

Trac


Ignore:
Timestamp:
Sep 17, 2010, 11:13:52 AM (14 years ago)
Author:
toemon
Message:

cube2.2よりcacheディレクトリがtrust_path側へ移ったことへの対応 Fixes#373

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/include/xpress_block_render.php

    r656 r657  
    122122    { 
    123123        global $xoops_config; 
    124         if(defined('XOOPS_ROOT_PATH')){ 
    125                 $cache_dir = XOOPS_ROOT_PATH . '/cache/'; 
    126         } else { 
    127                 $cache_dir = $xoops_config->xoops_root_path . '/cache/'; 
    128         } 
     124         
     125                $cache_dir = $xoops_config->xoops_cache_path . '/'; 
    129126        $xml_name = $block_name . '.xml'; 
    130127 
     
    280277                $pattern = '(' . $pattern . ')'; 
    281278                 
    282                 $cache_dir = $xoops_config->xoops_root_path . '/cache/'; 
     279                $cache_dir = $xoops_config->xoops_cache_path . '/'; 
    283280                $cache_time = 0; 
    284281        if ($dh = opendir($cache_dir)) { 
Note: See TracChangeset for help on using the changeset viewer.