Changeset 719 for trunk/xpressme_integration_kit/include/xpress_cache.php
- Timestamp:
- Apr 26, 2011, 3:38:22 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/include/xpress_cache.php
r657 r719 1 1 <?php 2 2 3 // is_writable() doesn't operate normally on the windows filesystem 4 if(!function_exists("cache_is_writable")): 5 function cache_is_writable(){ 6 global $xoops_config; 7 $cache_dir = $xoops_config->xoops_cache_path . '/'; 8 $filename = $cache_dir .'xpress_cache_test.txt'; 9 $fp = @fopen($filename, "w"); 10 if ($fp == false) return false; 11 fclose($fp); 12 return true; 13 } 14 endif; 15 3 16 if(!function_exists("xpress_cache_found")): 4 17 function xpress_cache_found($filename)
Note: See TracChangeset
for help on using the changeset viewer.