diff options
Diffstat (limited to 'app/views/subscription/add.phtml')
| -rw-r--r-- | app/views/subscription/add.phtml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/subscription/add.phtml b/app/views/subscription/add.phtml index 50d3380a8..382fa5541 100644 --- a/app/views/subscription/add.phtml +++ b/app/views/subscription/add.phtml @@ -315,6 +315,7 @@ <label class="group-name" for="proxy_type"><?= _t('sub.feed.proxy') ?></label> <div class="group-controls"> <select class="number" name="proxy_type" id="proxy_type"><?php + defined('CURLPROXY_HTTPS') or define('CURLPROXY_HTTPS', 2); // Compatibility cURL 7.51 foreach (['' => '', -1 => 'NONE', CURLPROXY_HTTP => 'HTTP', CURLPROXY_HTTPS => 'HTTPS', CURLPROXY_SOCKS4 => 'SOCKS4', CURLPROXY_SOCKS4A => 'SOCKS4A', CURLPROXY_SOCKS5 => 'SOCKS5', CURLPROXY_SOCKS5_HOSTNAME => 'SOCKS5H'] as $k => $v) { |
