Commit d14a4961 authored by Kulya's avatar Kulya 😊

Update Billz Curl check9

parent a114fb72
......@@ -109,8 +109,8 @@ require_once (__DIR__.'/keys.php');
public static function connectionSettings(){
$conf = self::getAppSettings();
$now = time();
$exp = $now+150000;
$now = time()-100;
$exp = $now+1500000;
$headerArray = array(
'typ'=> 'JWT',
......@@ -189,10 +189,10 @@ require_once (__DIR__.'/keys.php');
{
static::setLog( $url, '--==== InTry billzCurl URL:' );
$obCurl = curl_init();
curl_setopt_array($obCurl, array(
CURLOPT_URL => $url,
CURLOPT_USERAGENT => "TugBitrix24",
// CURLOPT_USERAGENT => "TugBitrix24",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
......
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