From 586c600040123642a18ae77571d9414860a338f4 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Thu, 8 Oct 2015 20:54:07 -0400 Subject: Add proxy support for http client --- app/constants.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'app/constants.php') diff --git a/app/constants.php b/app/constants.php index f54930ab..0d8ffd87 100644 --- a/app/constants.php +++ b/app/constants.php @@ -120,3 +120,10 @@ defined('BRUTEFORCE_LOCKDOWN_DURATION') or define('BRUTEFORCE_LOCKDOWN_DURATION' // Session duration in second (0 = until the browser is closed) // See http://php.net/manual/en/session.configuration.php#ini.session.cookie-lifetime defined('SESSION_DURATION') or define('SESSION_DURATION', 0); + +// HTTP client proxy +defined('HTTP_PROXY_HOSTNAME') or define('HTTP_PROXY_HOSTNAME', ''); +defined('HTTP_PROXY_PORT') or define('HTTP_PROXY_PORT', '3128'); +defined('HTTP_PROXY_USERNAME') or define('HTTP_PROXY_USERNAME', ''); +defined('HTTP_PROXY_PASSWORD') or define('HTTP_PROXY_PASSWORD', ''); + -- cgit v1.2.3