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 |
|
---|
13 |
|
---|
14 | /*
|
---|
15 | * Global root for uniform file calling.
|
---|
16 | */
|
---|
17 | $config['root'] = dirname(__FILE__);
|
---|
18 | $config['root_class'] = $config['root'] . '/inc/';
|
---|
19 | $config['file_init'] = 'init.php';
|
---|
20 |
|
---|
21 | /*
|
---|
22 | * Placemark settings. Which icons do you want to use
|
---|
23 | */
|
---|
24 | $config['node_green'] = 'sleutelGroen.png';
|
---|
25 | $config['node_orange'] = 'img/sleutelOranje.png';
|
---|
26 | $config['node_red'] = 'img/sleutelRood.png';
|
---|
27 | $config['line_black'] = '#000000ff';
|
---|
28 |
|
---|
29 | /*
|
---|
30 | * This files we require for our application
|
---|
31 | * We include the files in init.php
|
---|
32 | */
|
---|
33 | $config['require'] = array();
|
---|
34 | $config['require'][] = $config['root_class'] . 'ErrorHandler.php';
|
---|
35 | $config['require'][] = $config['root_class'] . 'LogHandler.class.php';
|
---|
36 | $config['require'][] = $config['root_class'] . 'FileHandler.class.php';
|
---|
37 | $config['require'][] = $config['root_class'] . 'KMLFile.class.php';
|
---|
38 | $config['require'][] = $config['root_class'] . 'KMLNode.class.php';
|
---|
39 | $config['require'][] = $config['root_class'] . 'KMLLine.class.php';
|
---|
40 | $config['require'][] = $config['root_class'] . 'Network.class.php';
|
---|
41 | $config['require'][] = $config['root_class'] . 'NetworkList.class.php';
|
---|
42 |
|
---|
43 | $config['googlekey'] = array();
|
---|
44 | $config['googlekey']['wirelessleiden.nl'] = 'ABQIAAAAKRiFs2kXKhTkKZkE_ms9rhTdBXm62xfhQU7Dk6ZBFSzYdmSteRQWjLqZhwX8afHvGpd4N3iKql6w8g';
|
---|
45 | $config['googlekey']['default'] = 'ABQIAAAAzr2EBOXUKnm_jVnk0OJI7xSosDVG8KKPE1-m51RBrvYughuyMxQ-i1QfUnH94QxWIa6N4U6MouMmBA';
|
---|
46 |
|
---|
47 | /*
|
---|
48 | * Values to generate map
|
---|
49 | */
|
---|
50 | $config['kml_file'] = $config['root'] . '/map/inc/example.kml';
|
---|
51 | // Should be something like:
|
---|
52 | // $config['kml_file'] = $config['root'] . '/kml.php?time=%TIMESTAMP%';
|
---|
53 | ?>
|
---|