Skip to content

Commit

Permalink
getURLBackground to the Unix system
Browse files Browse the repository at this point in the history
We make a workable method getURLBackground to the Unix system.
Делаем работоспособным метод getURLBackground в юникс системах.
  • Loading branch information
Zelevova committed Jun 30, 2017
1 parent 8ce2040 commit 3254b92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/common.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ function getURL($url, $cache = 0, $username = '', $password = '', $background =
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);

if ($background) {
//curl_setopt($ch, CURLOPT_TIMEOUT, 1);
curl_setopt($ch, CURLOPT_NOSIGNAL, 1);
curl_setopt($ch, CURLOPT_TIMEOUT_MS, 1);
}

Expand Down

0 comments on commit 3254b92

Please sign in to comment.