Only conecction timeout in login. Tiquet: #3485
(cherry picked from commit 21b3c370b1
)
This commit is contained in:
parent
5d76e0fce8
commit
b923519c75
|
@ -298,8 +298,6 @@ function update_manager_check_online_free_packages ($is_ajax=true) {
|
|||
curl_setopt($curlObj, CURLOPT_POST, true);
|
||||
curl_setopt($curlObj, CURLOPT_POSTFIELDS, $params);
|
||||
curl_setopt($curlObj, CURLOPT_SSL_VERIFYPEER, false);
|
||||
curl_setopt($curlObj, CURLOPT_CONNECTTIMEOUT, 4);
|
||||
|
||||
if (isset($config['update_manager_proxy_server'])) {
|
||||
curl_setopt($curlObj, CURLOPT_PROXY, $config['update_manager_proxy_server']);
|
||||
}
|
||||
|
|
|
@ -637,4 +637,4 @@ function visual_map_editor_print_hack_translate_strings() {
|
|||
echo '<span style="display: none" id="hack_translation_incorrect_save">' .
|
||||
__('Could not be save') .'</span>';
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue