Commit d14a4961 authored by Kulya's avatar Kulya 😊

Update Billz Curl check9

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