- Timestamp:
- Sep 17, 2010, 11:13:52 AM (14 years ago)
- File:
-
- 1 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)) {
Note: See TracChangeset
for help on using the changeset viewer.