Changeset 657 for trunk/xpressme_integration_kit/include
- Timestamp:
- Sep 17, 2010, 11:13:52 AM (14 years ago)
- Location:
- trunk/xpressme_integration_kit/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/include/xpress_block_render.php
r656 r657 122 122 { 123 123 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 . '/'; 129 126 $xml_name = $block_name . '.xml'; 130 127 … … 280 277 $pattern = '(' . $pattern . ')'; 281 278 282 $cache_dir = $xoops_config->xoops_ root_path . '/cache/';279 $cache_dir = $xoops_config->xoops_cache_path . '/'; 283 280 $cache_time = 0; 284 281 if ($dh = opendir($cache_dir)) { -
trunk/xpressme_integration_kit/include/xpress_cache.php
r96 r657 18 18 { 19 19 global $xoops_config; 20 if(defined('XOOPS_ROOT_PATH')){ 21 $cache_dir = XOOPS_ROOT_PATH . '/cache/'; 22 } else { 23 $cache_dir = $xoops_config->xoops_root_path . '/cache/'; 24 } 20 21 $cache_dir = $xoops_config->xoops_cache_path . '/'; 25 22 $filename = $cache_dir .$mydirname . '_' . $collation_key; 26 23 if (xpress_cache_found($filename)) { … … 36 33 { 37 34 global $xoops_config; 38 $cache_dir = $xoops_config->xoops_ root_path . '/cache/';35 $cache_dir = $xoops_config->xoops_cache_path . '/'; 39 36 $cache_time = 0; 40 37 … … 53 50 { 54 51 global $xoops_config; 55 $cache_dir = $xoops_config->xoops_ root_path . '/cache/';52 $cache_dir = $xoops_config->xoops_cache_path . '/'; 56 53 $cache_time = 0; 57 54 if ($dh = opendir($cache_dir)) {
Note: See TracChangeset
for help on using the changeset viewer.