From: martin <martin>
Date: Mon, 2 Sep 2002 06:34:43 +0000 (+0000)
Subject: Added ability to define proxy machine (eg a firewall) so that Moodle
X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9febf87563942d359b1781665719d2ac3881d55a;p=moodle.git

Added ability to define proxy machine (eg a firewall) so that Moodle
is able to get to the Internet if it needs to
---

diff --git a/config-dist.php b/config-dist.php
index 8903be2b20..7576e74fe2 100644
--- a/config-dist.php
+++ b/config-dist.php
@@ -109,6 +109,15 @@ $CFG->unzip = "/usr/bin/unzip";
 
 $CFG->slasharguments = true;
 
+// If this server needs to use a proxy computer (eg a firewall)
+// to access the Internet, then provide the proxy details here.
+// This will only affect a few minor features such as the ability
+// to see user locations plotted on a graph.
+// Otherwise, leave these blank
+
+$CFG->proxyhost = "";
+$CFG->proxyport = "";
+
 
 // You should not need to change anything else. To continue setting up 
 // Moodle, use your web browser to go to the moodle/admin web page.