Replace hardcoded int with its corresponding constant

This commit is contained in:
Daniel Winzen
2020-10-15 22:22:24 +02:00
parent bf4c212f88
commit 0e221ecadf
11 changed files with 14 additions and 14 deletions

View File

@ -10,7 +10,7 @@ try{
$ch=curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_PROXY, PROXY);
curl_setopt($ch, CURLOPT_PROXYTYPE, 7);
curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5_HOSTNAME);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 25);
curl_setopt($ch, CURLOPT_TIMEOUT, 40);