summaryrefslogtreecommitdiff
path: root/app/constants.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-10-08 20:54:07 -0400
committerFrederic Guillot <fred@kanboard.net>2015-10-08 20:54:07 -0400
commit586c600040123642a18ae77571d9414860a338f4 (patch)
tree36145409edaf3fb280eec78338c116328a65f8cd /app/constants.php
parent546e6fe7428b5bdd045ae57c4c5a6b729508a4e8 (diff)
Add proxy support for http client
Diffstat (limited to 'app/constants.php')
-rw-r--r--app/constants.php7
1 files changed, 7 insertions, 0 deletions
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', '');
+