| @@ 222-229 (lines=8) @@ | ||
| 219 | /** |
|
| 220 | * {@inheritdoc} |
|
| 221 | */ |
|
| 222 | public function touch($path, $mtime = null) { |
|
| 223 | if ($this->file_exists($path)) { |
|
| 224 | return false; |
|
| 225 | } else { |
|
| 226 | $this->file_put_contents($path, ''); |
|
| 227 | return true; |
|
| 228 | } |
|
| 229 | } |
|
| 230 | ||
| 231 | /** |
|
| 232 | * {@inheritdoc} |
|
| @@ 336-343 (lines=8) @@ | ||
| 333 | } |
|
| 334 | } |
|
| 335 | ||
| 336 | public function touch($path, $mtime = null) { |
|
| 337 | if ($this->file_exists($path)) { |
|
| 338 | return false; |
|
| 339 | } else { |
|
| 340 | $this->file_put_contents($path, ''); |
|
| 341 | } |
|
| 342 | return true; |
|
| 343 | } |
|
| 344 | ||
| 345 | /** |
|
| 346 | * check if curl is installed |
|