source: trunk/src/config.php@ 7781

Last change on this file since 7781 was 7775, checked in by Pieter Naber, 15 years ago

Something's still wrong with the colors of nodes... Green nodes are placed in the middle of the ocean... However it's bedtime, so bye bye :-)

  • Property svn:eol-style set to native
File size: 2.2 KB
Line 
1<?php
2/*
3 * Project: NodeMap2.0
4 * File: config.php
5 * Purpose: All config settings are stored in this file
6 */
7
8$config = array();
9
10$config['node_status_file'] = 'http://watch.wirelessleiden.nl/nagios/export/node-status.csv';
11$config['node_location_file'] = 'http://watch.wirelessleiden.nl/nagios/export/genesis-nodes.conf';
12$config['overall_longitude'] = 4.490153;
13$config['overall_latitude'] = 52.161087;
14$config['overall_altitude'] = 0;
15$config['overall_heading'] = 0;
16$config['overall_tilt'] = 0;
17$config['overall_range'] = 7000;
18
19
20/*
21 * Global root for uniform file calling.
22 */
23$config['root'] = dirname(__FILE__);
24$config['root_class'] = $config['root'] . '/inc/';
25$config['file_init'] = 'init.php';
26
27/*
28 * Placemark settings. Which icons do you want to use
29 */
30$config['node_green'] = 'http://dellphi.wirelessleiden.nl/nodemap/img/sleutelGroen.png';
31$config['node_orange'] = 'http://dellphi.wirelessleiden.nl/nodemap/img/sleutelOranje.png';
32$config['node_red'] = 'http://dellphi.wirelessleiden.nl/nodemap/img/sleutelRood.png';
33$config['line_black'] = '#66000000';
34
35/*
36 * This files we require for our application
37 * We include the files in init.php
38 */
39$config['require'] = array();
40$config['require'][] = $config['root_class'] . 'ErrorHandler.php';
41$config['require'][] = $config['root_class'] . 'LogHandler.class.php';
42$config['require'][] = $config['root_class'] . 'FileHandler.class.php';
43$config['require'][] = $config['root_class'] . 'KMLFile.class.php';
44$config['require'][] = $config['root_class'] . 'KMLNode.class.php';
45$config['require'][] = $config['root_class'] . 'KMLLine.class.php';
46$config['require'][] = $config['root_class'] . 'Network.class.php';
47$config['require'][] = $config['root_class'] . 'NetworkList.class.php';
48
49$config['googlekey'] = array();
50$config['googlekey']['wirelessleiden.nl'] = 'ABQIAAAAKRiFs2kXKhTkKZkE_ms9rhTdBXm62xfhQU7Dk6ZBFSzYdmSteRQWjLqZhwX8afHvGpd4N3iKql6w8g';
51$config['googlekey']['default'] = 'ABQIAAAAzr2EBOXUKnm_jVnk0OJI7xSosDVG8KKPE1-m51RBrvYughuyMxQ-i1QfUnH94QxWIa6N4U6MouMmBA';
52
53/*
54 * Values to generate map
55 */
56$config['kml_file'] = $config['root'] . '/map/inc/example.kml';
57// Should be something like:
58// $config['kml_file'] = $config['root'] . '/kml.php?time=%TIMESTAMP%';
59?>
Note: See TracBrowser for help on using the repository browser.