Skip to content

Commit

Permalink
2.25.13
Browse files Browse the repository at this point in the history
  • Loading branch information
scottjpearson committed Dec 14, 2020
1 parent bf2b3d5 commit 688f6c4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CareerDev.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class CareerDev {
public static $passedModule = NULL;

public static function getVersion() {
return "2.25.12";
return "2.25.13";
}

public static function getLockFile($pid) {
Expand Down
14 changes: 11 additions & 3 deletions classes/Upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ public static function deleteRecords($token, $server, $records) {
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'POST');
curl_setopt($ch, CURLOPT_FRESH_CONNECT, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data, '', '&'));
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$output = curl_exec($ch);
$feedback = json_decode($output, TRUE);
self::testFeedback($feedback, $output, $ch);
Expand Down Expand Up @@ -163,7 +165,9 @@ public static function metadata($metadata, $token, $server) {
curl_setopt($ch, CURLOPT_MAXREDIRS, 10);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'POST');
curl_setopt($ch, CURLOPT_FRESH_CONNECT, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data, '', '&'));
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data, '', '&'));
$output = curl_exec($ch);
$feedback = json_decode($output, TRUE);
self::testFeedback($feedback, $output, $ch, $metadata);
Expand Down Expand Up @@ -265,7 +269,9 @@ public static function projectSettings($settings, $token, $server) {
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'POST');
curl_setopt($ch, CURLOPT_FRESH_CONNECT, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data, '', '&'));
$output = curl_exec($ch);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$output = curl_exec($ch);
$feedback = json_decode($output, TRUE);
self::testFeedback($feedback, $output, $ch, $settings);
curl_close($ch);
Expand Down Expand Up @@ -419,7 +425,9 @@ public static function rows($rows, $token, $server) {
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'POST');
curl_setopt($ch, CURLOPT_FRESH_CONNECT, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data, '', '&'));
$time2 = microtime(TRUE);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$time2 = microtime(TRUE);
$output = curl_exec($ch);
$feedback = json_decode($output, true);
self::testFeedback($feedback, $output, $ch, $rows);
Expand Down

0 comments on commit 688f6c4

Please sign in to comment.