Changeset 6360
- Timestamp:
- 12/07/07 15:14:39 (8 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/plugins/sfCompat10Plugin/lib/cache/sfProcessCache.class.php
r5144 r6360 164 164 return true; 165 165 case 'eaccelerator': 166 eaccelerator_clean(); 166 $infos = eaccelerator_list_keys(); 167 if (is_array($infos)) 168 { 169 foreach ($infos as $info) 170 { 171 // eaccelerator bug (http://eaccelerator.net/ticket/287) 172 $key = 0 === strpos($info['name'], ':') ? substr($info['name'], 1) : $info['name']; 173 if (!eaccelerator_rm($key)) 174 { 175 return false; 176 } 177 } 178 } 179 180 return true; 167 181 } 168 182