Skip to content

Commit

Permalink
fix run variable $api
Browse files Browse the repository at this point in the history
Prevent call undefined variable $api->caOverride
  • Loading branch information
Max Grim committed Oct 28, 2020
1 parent 621013e commit 75b10c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php-binance-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -2304,7 +2304,7 @@ private function downloadCurlCaBundle()
$output_filename = getcwd() . "/ca.pem";

if (is_writable(getcwd()) === false) {
die(getcwd() . " folder is not writeable, please check your permissions to download CA Certificates, or use $api->caOverride = true;");
die(getcwd() . ' folder is not writeable, please check your permissions to download CA Certificates, or use $api->caOverride = true;');
}

$host = "https://curl.haxx.se/ca/cacert.pem";
Expand Down

0 comments on commit 75b10c4

Please sign in to comment.