mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-04 02:04:53 +02:00
using Http::getData instead file_get_contents
This commit is contained in:
parent
c57bbeace3
commit
b5ddf37649
3 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue