Changeset 7773 for trunk/src/config.php


Ignore:
Timestamp:
Apr 15, 2010, 10:40:35 PM (15 years ago)
Author:
Pieter Naber
Message:

Created interlinks!
Fixed LogHandler to output at the end (so we have a valid KML file)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/config.php

    r7768 r7773  
    1313
    1414/*
    15  * Global settings
    16  * Don't change anything below this line if you don't know what you are doing
     15 * Global root for uniform file calling.
    1716 */
    18 $config['folder_class']         = 'inc/';
     17$config['root']                         = dirname(__FILE__);
     18$config['root_class']           = $config['root'] . '/inc/';
    1919$config['file_init']            = 'init.php';
    2020
     
    2222 * Placemark settings. Which icons do you want to use
    2323 */
    24 $config['node_green']   = 'http://svn.wirelessleiden.nl/svn/projects/NodeMap2.0/trunk/src/img/sleutelGroen.png';
     24$config['node_green']   = 'sleutelGroen.png';
    2525$config['node_orange']  = 'img/sleutelOranje.png';
    2626$config['node_red']             = 'img/sleutelRood.png';
     
    3232 */
    3333$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';
     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';
    4042
    4143$config['googlekey']            = array();
    4244$config['googlekey']['wirelessleiden.nl'] = 'ABQIAAAAKRiFs2kXKhTkKZkE_ms9rhTdBXm62xfhQU7Dk6ZBFSzYdmSteRQWjLqZhwX8afHvGpd4N3iKql6w8g';
    4345$config['googlekey']['default'] = 'ABQIAAAAzr2EBOXUKnm_jVnk0OJI7xSosDVG8KKPE1-m51RBrvYughuyMxQ-i1QfUnH94QxWIa6N4U6MouMmBA';
    44 
    45 /*
    46  * Global root for uniform file calling.
    47  */
    48 $config['root']                         = dirname(__FILE__);
    4946
    5047/*
Note: See TracChangeset for help on using the changeset viewer.