Adding IP-Atlas 1.0 to this distribution. I use it to provide maps
[moodle.git] / lib / ipatlas / plotconf.inc
blob711507faa44750a692de7e18aeb2128a35c74f66
1 <?
3 require("../../config.php");
5 # try to find GD on the server? set this
6 # to "0" if the script doesn't work or there is a broken image
7 if ($CFG->gdversion == 1 or $CFG->gdversion == 2) {
8     $trygd = "1";
9 } else {
10     $trygd = "0";
13 # language (look in language/ dir for language files)
14 $language = "en"; global $language;
16 include("translate.inc");
18 # display warnings? set to "0" if there are warnings
19 # on the screen. report these to ivan@xpenguin.com so
20 # this option will become unnessessary.
21 $warnings = "1";
23 # earth images
24 # url path:name:width:height
25 # everything must be accurate!
26 # take new image names out of the t()
28 $earthimages = array();
29 $earthimages[0] = "earth_620.jpg:".t("Color").":620:310";
31 # which image out of those is the default?
32 $defaultimage = 0;
34 # css dots for netscape 4 users and systems without GD
35 # url path:name:width:height
36 $cssdots = array();
37 $cssdots[0] = "reddot.gif:Red 7x7:7:7";
38 $cssdots[1] = "yellowdot.gif:Yellow 7x7:7:7";
39 $defaultdot = 0;
41 # block user agents "libwww-perl" "lwp-trivial" "LWP::Simple" "PHP/"
42 $blockbadagents = 1;
44 # log entries? comment the line to disable.
45 $logging = "yes";
47 # path to the cookie
48 $cookiepath = "/";
50 # set $use_firewall to "1" if behind a proxy
51 $use_firewall="";
52 $firewall_host="localhost";
53 $firewall_port=3128;