Changeset 9937
- Timestamp:
- 11/14/08 18:15:27 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/0.8/jaws/html/include/Jaws/Cache/File.php
r9924 r9937 42 42 } 43 43 44 $file = $this->_path. $component. '.'. $section. ( is_null($params)? '' : ('.'. $params));44 $file = $this->_path. $component. '.'. $section. (empty($params)? '' : ('.'. $params)); 45 45 return (bool) Jaws_Utils::file_put_contents($file, $data); 46 46 } … … 80 80 $match = is_null($component)? '' : $component; 81 81 $match .= '.' . (is_null($section)? '' : $section); 82 $match .= is_null($params)? '' : ('.' . $params);82 $match .= empty($params)? '' : ('.' . $params); 83 83 $files = &File_Find::search('/'.$match.'/i', $this->_path, 'perl', false, 'files'); 84 84 foreach ($files as $file) {
