]> git.mjollnir.org Git - moodle.git/commitdiff
Added ability to define proxy machine (eg a firewall) so that Moodle
authormartin <martin>
Mon, 2 Sep 2002 06:34:43 +0000 (06:34 +0000)
committermartin <martin>
Mon, 2 Sep 2002 06:34:43 +0000 (06:34 +0000)
is able to get to the Internet if it needs to

config-dist.php

index 8903be2b204495e69c190ad5336d338b40a49c72..7576e74fe286d3ab882a94000a14770a822e18af 100644 (file)
@@ -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.