From 75b10c45402997d54bb312ff81262f22260c5be4 Mon Sep 17 00:00:00 2001 From: Max Grim Date: Wed, 28 Oct 2020 23:16:19 +0200 Subject: [PATCH] fix run variable $api Prevent call undefined variable $api->caOverride --- php-binance-api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php-binance-api.php b/php-binance-api.php index 8264bfc7..89ad8b18 100755 --- a/php-binance-api.php +++ b/php-binance-api.php @@ -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";