forked from kevinowino869/mitrobill
using Http::getData instead file_get_contents
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
|
||||
class Http
|
||||
{
|
||||
public static function getData($url, $headers)
|
||||
public static function getData($url, $headers = [])
|
||||
{
|
||||
$ch = curl_init();
|
||||
curl_setopt($ch, CURLOPT_URL, $url);
|
||||
|
Reference in New Issue
Block a user