|
@ -57,7 +57,9 @@ class Pihole implements Contracts\Applications, Contracts\Livestats { |
|
|
$config = $this->config; |
|
|
$config = $this->config; |
|
|
$url = $config->url; |
|
|
$url = $config->url; |
|
|
|
|
|
|
|
|
$api_url = $url.'admin/api.php'; |
|
|
$url = rtrim($url, '/'); |
|
|
|
|
|
|
|
|
|
|
|
$api_url = $url.'/api.php'; |
|
|
//die( $api_url.' --- '); |
|
|
//die( $api_url.' --- '); |
|
|
|
|
|
|
|
|
$client = new Client(['http_errors' => false]); |
|
|
$client = new Client(['http_errors' => false]); |
|
|