Changeset 5308
- Timestamp:
- 09/29/07 08:51:43 (6 years ago)
- Files:
-
- branches/1.0/lib/cache/sfFileCache.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.0/lib/cache/sfFileCache.class.php
r3541 r5308 339 339 $namespace = str_replace('/', DIRECTORY_SEPARATOR, $namespace); 340 340 341 return $this->cleanDir($this->cacheDir.DIRECTORY_SEPARATOR.$namespace, $mode); 341 $dir = $this->cacheDir.DIRECTORY_SEPARATOR.$namespace; 342 if (!file_exists($dir)) 343 { 344 return true; 345 } 346 347 return $this->cleanDir($dir, $mode); 342 348 } 343 349