| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 47 | public function getFileContCurl($filename) |
||
| 48 | { |
||
| 49 | $handle = curl_init(); |
||
| 50 | curl_setopt($handle, CURLOPT_RETURNTRANSFER, true); |
||
| 51 | curl_setopt($handle, CURLOPT_SSL_VERIFYHOST, false); |
||
| 52 | curl_setopt($handle, CURLOPT_SSL_VERIFYPEER, false); |
||
| 53 | curl_setopt($handle, CURLOPT_URL, $filename); |
||
| 54 | $result = curl_exec($handle); |
||
| 55 | curl_close($handle); |
||
| 56 | return $result; |
||
| 57 | } |
||
| 59 |