debug-add-daili
This commit is contained in:
@@ -100,6 +100,17 @@ class Site
|
|||||||
$arrConfig['curl'][CURLOPT_PROXYAUTH] = CURLAUTH_BASIC;
|
$arrConfig['curl'][CURLOPT_PROXYAUTH] = CURLAUTH_BASIC;
|
||||||
$arrConfig['curl'][CURLOPT_PROXYUSERPWD] = "$strKey:$strSecret";
|
$arrConfig['curl'][CURLOPT_PROXYUSERPWD] = "$strKey:$strSecret";
|
||||||
break;
|
break;
|
||||||
|
case 'QING':
|
||||||
|
$arrConfig['proxy'] = $strProxyHost;
|
||||||
|
$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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -100,6 +100,17 @@ class Site
|
|||||||
$arrConfig['curl'][CURLOPT_PROXYAUTH] = CURLAUTH_BASIC;
|
$arrConfig['curl'][CURLOPT_PROXYAUTH] = CURLAUTH_BASIC;
|
||||||
$arrConfig['curl'][CURLOPT_PROXYUSERPWD] = "$strKey:$strSecret";
|
$arrConfig['curl'][CURLOPT_PROXYUSERPWD] = "$strKey:$strSecret";
|
||||||
break;
|
break;
|
||||||
|
case 'QING':
|
||||||
|
$arrConfig['proxy'] = $strProxyHost;
|
||||||
|
$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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -108,6 +108,17 @@ class Site
|
|||||||
$arrConfig['curl'][CURLOPT_PROXYAUTH] = CURLAUTH_BASIC;
|
$arrConfig['curl'][CURLOPT_PROXYAUTH] = CURLAUTH_BASIC;
|
||||||
$arrConfig['curl'][CURLOPT_PROXYUSERPWD] = "$strKey:$strSecret";
|
$arrConfig['curl'][CURLOPT_PROXYUSERPWD] = "$strKey:$strSecret";
|
||||||
break;
|
break;
|
||||||
|
case 'QING':
|
||||||
|
$arrConfig['proxy'] = $strProxyHost;
|
||||||
|
$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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -100,6 +100,17 @@ class Site
|
|||||||
$arrConfig['curl'][CURLOPT_PROXYAUTH] = CURLAUTH_BASIC;
|
$arrConfig['curl'][CURLOPT_PROXYAUTH] = CURLAUTH_BASIC;
|
||||||
$arrConfig['curl'][CURLOPT_PROXYUSERPWD] = "$strKey:$strSecret";
|
$arrConfig['curl'][CURLOPT_PROXYUSERPWD] = "$strKey:$strSecret";
|
||||||
break;
|
break;
|
||||||
|
case 'QING':
|
||||||
|
$arrConfig['proxy'] = $strProxyHost;
|
||||||
|
$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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -108,6 +108,17 @@ class Site
|
|||||||
$arrConfig['curl'][CURLOPT_PROXYAUTH] = CURLAUTH_BASIC;
|
$arrConfig['curl'][CURLOPT_PROXYAUTH] = CURLAUTH_BASIC;
|
||||||
$arrConfig['curl'][CURLOPT_PROXYUSERPWD] = "$strKey:$strSecret";
|
$arrConfig['curl'][CURLOPT_PROXYUSERPWD] = "$strKey:$strSecret";
|
||||||
break;
|
break;
|
||||||
|
case 'QING':
|
||||||
|
$arrConfig['proxy'] = $strProxyHost;
|
||||||
|
$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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -93,6 +93,17 @@ class Site extends ZwSite
|
|||||||
$arrConfig['curl'][CURLOPT_PROXYAUTH] = CURLAUTH_BASIC;
|
$arrConfig['curl'][CURLOPT_PROXYAUTH] = CURLAUTH_BASIC;
|
||||||
$arrConfig['curl'][CURLOPT_PROXYUSERPWD] = "$strKey:$strSecret";
|
$arrConfig['curl'][CURLOPT_PROXYUSERPWD] = "$strKey:$strSecret";
|
||||||
break;
|
break;
|
||||||
|
case 'QING':
|
||||||
|
$arrConfig['proxy'] = $strProxyHost;
|
||||||
|
$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