diff options
author | mildis <mildis@users.noreply.github.com> | 2019-06-04 04:51:47 +0200 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2019-06-03 20:00:49 -0700 |
commit | b26776e529a61666dcb941ad00ac85c1d90b03da (patch) | |
tree | e3c86ffb3d897a6dd249cb944e71627200298bf1 /app/constants.php | |
parent | f76c6c7a2a62deb5c4985067f796b447ae144178 (diff) |
Add cURL support to HTTP Client
- Add HTTP_PROXY_EXCLUDE option when cURL is used
- Show HTTP client backend in about page
- Fallback to legacy Stream Contexts if cURL extension is not available
Diffstat (limited to 'app/constants.php')
-rw-r--r-- | app/constants.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/constants.php b/app/constants.php index e7d8c41c..326ff401 100644 --- a/app/constants.php +++ b/app/constants.php @@ -148,6 +148,7 @@ 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', ''); +defined('HTTP_PROXY_EXCLUDE') or define('HTTP_PROXY_EXCLUDE', 'localhost'); defined('HTTP_VERIFY_SSL_CERTIFICATE') or define('HTTP_VERIFY_SSL_CERTIFICATE', true); defined('TOTP_ISSUER') or define('TOTP_ISSUER', 'Kanboard'); |