<?php
/*
 * Project: NodeMap2.0
 * File: config.php
 * Purpose: All config settings are stored in this file
 */

$config = array();

$config['node_status_file']		=	'http://watch.wirelessleiden.nl/nagios/export/node-status.csv';
$config['node_location_file']	=	'http://watch.wirelessleiden.nl/nagios/export/genesis-nodes.conf';


/*
 * Global settings
 * Don't change anything below this line if you don't know what you are doing
 */
$config['folder_class']		= 'inc/';
$config['file_init']		= 'init.php';

/*
 * Placemark settings. Which icons do you want to use
 */
$config['node_green']	= 'http://svn.wirelessleiden.nl/svn/projects/NodeMap2.0/trunk/src/img/sleutelGroen.png';
$config['node_orange']	= 'img/sleutelOranje.png';
$config['node_red']		= 'img/sleutelRood.png';
$config['line_black']	= '#000000ff';

/*
 * This files we require for our application
 * We include the files in init.php
 */
$config['require']			= array();
$config['require'][]		= $config['folder_class'] . 'ErrorHandler.php';
$config['require'][]		= $config['folder_class'] . 'LogHandler.class.php';
$config['require'][]		= $config['folder_class'] . 'FileHandler.class.php';
$config['require'][]		= $config['folder_class'] . 'KMLFile.class.php';
$config['require'][]		= $config['folder_class'] . 'KMLNode.class.php';
$config['require'][]		= $config['folder_class'] . 'KMLLine.class.php';

$config['googlekey'] 		= array();
$config['googlekey']['wirelessleiden.nl'] = 'ABQIAAAAKRiFs2kXKhTkKZkE_ms9rhTdBXm62xfhQU7Dk6ZBFSzYdmSteRQWjLqZhwX8afHvGpd4N3iKql6w8g';
$config['googlekey']['default'] = 'ABQIAAAAzr2EBOXUKnm_jVnk0OJI7xSosDVG8KKPE1-m51RBrvYughuyMxQ-i1QfUnH94QxWIa6N4U6MouMmBA';

/*
 * Global root for uniform file calling.
 */
$config['root']				= dirname(__FILE__);

/*
 * Values to generate map
 */
$config['kml_file']			= $config['root'] . '/map/inc/example.kml';
// Should be something like:
// $config['kml_file']		= $config['root'] . '/kml.php?time=%TIMESTAMP%';
?>
