- WIP on a new TaksReport object

This commit is contained in:
Dave Mc Nicoll committed 2024-11-01 16:10:18 -04:00
1 parent 5a737c06c4
commit 38df94fc2a
5 files changed
+94 -9

No files matched your search

+6 -3
View File
@@ -4,8 +4,8 @@ namespace Negundo\Client\Transport;
class Curl implements TransportInterface {
public $timeout = 2;
public $timeout = 100;
public $throwErrors = true;
public $verifySsl = false;
@@ -39,7 +39,10 @@ class Curl implements TransportInterface {
throw new \Exception(sprintf("HTTP code received : $code with page content : %s", $exec));
}
}
if ($_GET['dev'] ?? false) {
echo($exec);
die();
}
curl_close($ch);
return $exec;