| Conditions | 2 |
| Paths | 2 |
| Total Lines | 16 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 66 | private function verificarSeArquivo() { |
||
| 67 | if (!isset($this->data['__uploadfile__'])) { |
||
| 68 | return; |
||
| 69 | } |
||
| 70 | |||
| 71 | $this->data = [ |
||
| 72 | 'multipart' => [ |
||
| 73 | [ |
||
| 74 | 'name' => 'uploadArquivo', |
||
| 75 | 'contents' => file_get_contents($this->data['__uploadfile__']), |
||
| 76 | 'filename' => basename($this->data['__uploadfile__']) |
||
| 77 | ] |
||
| 78 | ] |
||
| 79 | ]; |
||
| 80 | |||
| 81 | $this->dataSize = 1; |
||
| 82 | } |
||
| 85 |