/******************************************************************** * config.php * ------------------- * begin : Sunday, Aug 25, 2002 * email : jimmy@deefa.com * notes : global config options * * ********************************************************************/ /* * Part 1 : Name and filesystem * */ $opt_group_name = "Somewhere Wireless"; $opt_theme = "melbWireless"; $opt_server = "melbourne.wireless.org.au"; // servername, without http:// or a trailing / $opt_loc_path = "/some/path/"; // web-visible path $opt_full_path = "/some/path/"; // full path on the server $opt_wiki = 1; $opt_wiki_url = "server.com/wiki/?"; // string to access a wiki page $opt_wiki_prefix = "Node"; // are wiki node pages prefixed by a word? $opt_maintainer = "Joe Blogs"; $opt_maintainer_email = "joe@somewhere.com"; /* * Part 2 : Database * */ // Database Abstraction require("classes/db/db_mysql.php"); //require("classes/db/db_mssql.php"); //require("classes/db/db_odbc.php"); //require("classes/db/db_oracle.php"); //require("classes/db/db_pgsql.php"); //require("classes/db/db_sybase.php"); // Database login info class locDatabase extends DB_Sql { var $Host = "server.com"; var $Database = "databse_name"; var $User = "username"; var $Password = "password"; } /* * Part 3 : Mapping * */ // extents of the region $opt_extent_long1 = 144.400691; //bottom left corner $opt_extent_lat1 = -38.500171; //bottom left corner $opt_extent_long2 = 145.325941; //top right corner $opt_extent_lat2 = -37.280631; //top right corner // Which mapping system to use $opt_map_system = "mapserver"; //$opt_map_system = "mapblast"; if ($opt_map_system == "mapserver") { // Mapserver Options $opt_mapserver_server = "server.com"; //mapserver url $opt_mapserver_path = "/cgi-bin/mapserv"; //path on maperver to cgi-bin $opt_mapserver_mapfile = "/some/path/mapfile.map"; //path to mapfile // where the Mapserver data files are stored // this _shouldnt_ be visible from the web $opt_shp_path_full = "/some/path/to/mapdata/"; // layers to display for each map $opt_front_top_map_layers = array("layer1"); $opt_front_bottom_map_layers = array("layer1"); $opt_view_top_map_layers = array("layer2"); $opt_view_bottom_map_layers = array("layer2"); $opt_area_map_layers = array("layer3"); } elseif ($opt_map_system == "mapblast") { } /* * Part 4 : Database Maintanence * */ $opt_cull_warning_1 = "120"; //number of days a node must be inactive $opt_cull_warning_2 = "150"; //number of days a node must be inactive $opt_cull_delete = "180"; //number of days before deletion /* * Part 5 : IP Allocation and Routing * */ // emails of those emailed when someone requests an IP $opt_ip_allocater = "some.bloke@server.com"; // password to page that allows IPs to be assigned $opt_ip_allocation_pass = "password"; // what are valid areas for ospf? $opt_area = array( 1 => array("name" => "Area Name", "min_lat" => -37.899, "max_lat" => -37.717, "min_long" => 144.91, "max_long" => 145.185, "mailing_list" => "not setup yet", "description" => "
description here"), ); ?>