- Timestamp:
- 12/06/12 08:35:13 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/library/Assetic/Cache/FilesystemCache.php
r7575 r7613 28 28 public function has($key) 29 29 { 30 $key = "expressocache-".$key; 30 31 return file_exists($this->dir.'/'.$key); 31 32 } … … 33 34 public function get($key) 34 35 { 36 $key = "expressocache-".$key; 35 37 $path = $this->dir.'/'.$key; 36 38 … … 44 46 public function set($key, $value) 45 47 { 48 $key = "expressocache-".$key; 46 49 if (!is_dir($this->dir) && false === @mkdir($this->dir, 0777, true)) { 47 50 throw new \RuntimeException('Unable to create directory '.$this->dir); … … 57 60 public function remove($key) 58 61 { 62 $key = "expressocache-".$key; 59 63 $path = $this->dir.'/'.$key; 60 64
Note: See TracChangeset
for help on using the changeset viewer.