source: trunk/src/config.php@ 7714

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

Moved pointer images to config file as example.

File size: 1.4 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
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['placemark_green'] = 'http://www.google.com/intl/en_us/mapfiles/ms/micons/green-dot.png';
25$config['placemark_orange'] = 'http://www.google.com/intl/en_us/mapfiles/ms/micons/orange-dot.png';
26$config['placemark_red'] = 'http://www.google.com/intl/en_us/mapfiles/ms/micons/red-dot.png';
27
28/*
29 * This files we require for our application
30 * We include the files in init.php
31 */
32$config['require'] = array();
33$config['require'][] = $config['folder_class'] . 'ErrorHandler.php';
34$config['require'][] = $config['folder_class'] . 'LogHandler.class.php';
35$config['require'][] = $config['folder_class'] . 'FileHandler.class.php';
36$config['require'][] = $config['folder_class'] . 'KMLFile.class.php';
37$config['require'][] = $config['folder_class'] . 'KMLPlacemark.class.php';
38?>
Note: See TracBrowser for help on using the repository browser.