Commit 0ffb523d authored by Kulya's avatar Kulya 😊

Billz curl req add progress func2

parent c1c70bff
...@@ -202,7 +202,7 @@ require_once (__DIR__.'/keys.php'); ...@@ -202,7 +202,7 @@ require_once (__DIR__.'/keys.php');
CURLOPT_SSL_VERIFYPEER =>false, CURLOPT_SSL_VERIFYPEER =>false,
CURLOPT_SSL_VERIFYHOST =>false, CURLOPT_SSL_VERIFYHOST =>false,
CURLOPT_NOPROGRESS => false , CURLOPT_NOPROGRESS => false ,
CURLOPT_PROGRESSFUNCTION => array("BillzRest", 'curlprogress'), CURLOPT_PROGRESSFUNCTION => array("\AloVoice\BillzRest", 'curlprogress'),
CURLOPT_HTTPHEADER => array( CURLOPT_HTTPHEADER => array(
'Authorization: Bearer '.$arSettings["token"], 'Authorization: Bearer '.$arSettings["token"],
'Content-Type: application/json' 'Content-Type: application/json'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment