Пример #1
0
 /**
  * Delete the file too
  */
 public function delete()
 {
     //initializing variables
     $path = $this->file(false);
     //reasons to fail
     if (file_exists($path)) {
         unlink($path);
     }
     return parent::delete();
 }