Changeset 330 for trunk/lib/Currency.inc.php
- Timestamp:
- May 6, 2008 9:21:27 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Currency.inc.php
r329 r330 111 111 { 112 112 $app =& App::getInstance(); 113 113 114 114 $cache_file_path = sprintf('%s/%s-to-%s', $this->getParam('cache_dir'), $base, $target); 115 115 $cache_file_mtime = @filemtime($cache_file_path); … … 129 129 return false; 130 130 } 131 } else if ($this->getParam('cache_result') && !file _put_contents($cache_file_path, $value, LOCK_EX)) {131 } else if ($this->getParam('cache_result') && !filePutContents($cache_file_path, $value, LOCK_EX)) { 132 132 $app->logMsg(sprintf('Failed writing to target rate file: %s', $cache_file_path), LOG_ERR, __FILE__, __LINE__); 133 133 return false;
Note: See TracChangeset
for help on using the changeset viewer.