aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2016-02-15 15:02:16 +0100
committerplegall <plg@piwigo.org>2016-02-15 15:02:16 +0100
commita9a17a27cb75155a5bb798495e801840735ea215 (patch)
tree883ec658b436923df4c9a540cd830c5340e4c3ef /include
parente03dff12b15fde7f5326e1e3fe9dd42102b55fe2 (diff)
feature #295, proxy support for fetchRemote
Diffstat (limited to 'include')
-rw-r--r--include/config_default.inc.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/config_default.inc.php b/include/config_default.inc.php
index f38942d15..f66dab486 100644
--- a/include/config_default.inc.php
+++ b/include/config_default.inc.php
@@ -832,4 +832,18 @@ $conf['log_level'] = 'DEBUG';
// Keep logs file during X days
$conf['log_archive_days'] = 30;
+
+// +-----------------------------------------------------------------------+
+// | Proxy Settings |
+// +-----------------------------------------------------------------------+
+
+// If piwigo needs a http-proxy to connect to the internet, set this to true
+$conf['use_proxy'] = false;
+
+// Connection string of the proxy
+$conf['proxy_server'] = 'proxy.domain.org:port';
+
+// If the http-proxy requires authentication, set username and password here
+// e.g. username:password
+$conf['proxy_auth'] = '';
?>