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 settings
|
---|
16 | * Don't change anything below this line if you don't know what you are doing
|
---|
17 | */
|
---|
18 | $config['folder_class'] = 'inc/';
|
---|
19 | $config['file_init'] = 'init.php';
|
---|
20 |
|
---|
21 | /*
|
---|
22 | * Placemark settings. Which icons do you want to use
|
---|
23 | */
|
---|
24 | $config['node_green'] = 'http://svn.wirelessleiden.nl/svn/projects/NodeMap2.0/trunk/src/img/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['folder_class'] . 'ErrorHandler.php';
|
---|
35 | $config['require'][] = $config['folder_class'] . 'LogHandler.class.php';
|
---|
36 | $config['require'][] = $config['folder_class'] . 'FileHandler.class.php';
|
---|
37 | $config['require'][] = $config['folder_class'] . 'KMLFile.class.php';
|
---|
38 | $config['require'][] = $config['folder_class'] . 'KMLNode.class.php';
|
---|
39 | $config['require'][] = $config['folder_class'] . 'KMLLine.class.php';
|
---|
40 |
|
---|
41 | $config['googlekey'] = array();
|
---|
42 | $config['googlekey']['wirelessleiden.nl'] = 'ABQIAAAAKRiFs2kXKhTkKZkE_ms9rhTdBXm62xfhQU7Dk6ZBFSzYdmSteRQWjLqZhwX8afHvGpd4N3iKql6w8g';
|
---|
43 | $config['googlekey']['default'] = 'ABQIAAAAzr2EBOXUKnm_jVnk0OJI7xSosDVG8KKPE1-m51RBrvYughuyMxQ-i1QfUnH94QxWIa6N4U6MouMmBA';
|
---|
44 |
|
---|
45 | /*
|
---|
46 | * Global root for uniform file calling.
|
---|
47 | */
|
---|
48 | $config['root'] = dirname(__FILE__);
|
---|
49 |
|
---|
50 | /*
|
---|
51 | * Values to generate map
|
---|
52 | */
|
---|
53 | $config['kml_file'] = $config['root'] . '/map/inc/example.kml';
|
---|
54 | // Should be something like:
|
---|
55 | // $config['kml_file'] = $config['root'] . '/kml.php?time=%TIMESTAMP%';
|
---|
56 | ?>
|
---|