debug
This commit is contained in:
@@ -77,7 +77,7 @@ class Site extends ZwSite
|
||||
$strProxyHost = $arrProxy['proxy_host'];
|
||||
$strKey = $arrProxy['proxy_key'];
|
||||
$strSecret = $arrProxy['proxy_secret'];
|
||||
|
||||
|
||||
switch ($strCode) {
|
||||
case 'XIONGMAO':
|
||||
$intTime = time();
|
||||
@@ -97,7 +97,13 @@ class Site extends ZwSite
|
||||
$proxyAuth = base64_encode($strKey . ":" . $strSecret);
|
||||
$arrConfig['headers']['Proxy-Authorization'] = "Basic " . $proxyAuth;
|
||||
break;
|
||||
|
||||
case 'JULIANG':
|
||||
// 隧道代理信息
|
||||
// $proxy = 'http://username:password@XXX.juliangip.com:23456';
|
||||
$proxy = "http://".$strKey . ":" . $strSecret. "@".$strProxyHost;
|
||||
$arrConfig['proxy'] = $proxy;
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user