Changeset 657 for trunk/xpressme_integration_kit/include/xpress_cache.php
- Timestamp:
- Sep 17, 2010, 11:13:52 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.