DEBUG
This commit is contained in:
@@ -102,14 +102,14 @@ class Site
|
||||
break;
|
||||
case 'QING':
|
||||
$arrConfig['proxy'] = $strProxyHost;
|
||||
$proxyAuth = base64_encode($strKey . ":" . $strSecret);
|
||||
$arrConfig['headers']['Proxy-Authorization'] = "Basic " . $proxyAuth;
|
||||
$strProxyAuth = base64_encode($strKey . ":" . $strSecret);
|
||||
$arrConfig['headers']['Proxy-Authorization'] = "Basic " . $strProxyAuth;
|
||||
break;
|
||||
case 'JULIANG':
|
||||
// 隧道代理信息
|
||||
// $proxy = 'http://username:password@XXX.juliangip.com:23456';
|
||||
$proxy = "http://".$strKey . ":" . $strSecret. "@".$strProxyHost;
|
||||
$arrConfig['proxy'] = $proxy;
|
||||
// $strProxy = 'http://username:password@XXX.juliangip.com:23456';
|
||||
$strProxy = "http://".$strKey . ":" . $strSecret. "@".$strProxyHost;
|
||||
$arrConfig['proxy'] = $strProxy;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user