Add (ai gen)
This commit is contained in:
@@ -1,5 +1,39 @@
|
||||
<?php
|
||||
|
||||
if (! function_exists('get_smartproxy_rotating_server')) {
|
||||
function get_smartproxy_rotating_server()
|
||||
{
|
||||
$proxy = config('platform.proxy.smartproxy.rotating_global.server');
|
||||
$proxy_user = config('platform.proxy.smartproxy.rotating_global.user');
|
||||
$proxy_psw = config('platform.proxy.smartproxy.rotating_global.password');
|
||||
|
||||
$reproxy_enable = config('platform.proxy.smartproxy.rotating_global.reproxy_enable');
|
||||
if ($reproxy_enable) {
|
||||
$proxy = config('platform.proxy.smartproxy.rotating_global.reproxy');
|
||||
}
|
||||
$proxy_server = "$proxy_user:$proxy_psw@$proxy";
|
||||
|
||||
return $proxy_server;
|
||||
}
|
||||
}
|
||||
|
||||
if (! function_exists('get_smartproxy_unblocker_server')) {
|
||||
function get_smartproxy_unblocker_server()
|
||||
{
|
||||
$proxy = config('platform.proxy.smartproxy.unblocker.server');
|
||||
$proxy_user = config('platform.proxy.smartproxy.unblocker.user');
|
||||
$proxy_psw = config('platform.proxy.smartproxy.unblocker.password');
|
||||
|
||||
$reproxy_enable = config('platform.proxy.smartproxy.unblocker.reproxy_enable');
|
||||
if ($reproxy_enable) {
|
||||
$proxy = config('platform.proxy.smartproxy.unblocker.reproxy');
|
||||
}
|
||||
$proxy_server = "$proxy_user:$proxy_psw@$proxy";
|
||||
|
||||
return $proxy_server;
|
||||
}
|
||||
}
|
||||
|
||||
if (! function_exists('get_smartproxy_server')) {
|
||||
function get_smartproxy_server()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user