Changeset 7869
- Timestamp:
- Apr 28, 2010, 1:20:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/config.php
r7868 r7869 33 33 $config['url'] = $_SERVER['HTTP_HOST']; 34 34 $config['uri'] = $_SERVER['REQUEST_URI']; 35 // XXX: Dirty hack to fix the URI root folder, needs work 36 $config['uri_root'] = str_replace('/map', '', dirname($config['uri'])); 37 echo $config['uri_root']; 35 38 $config['file_init'] = 'init.php'; 36 39 … … 38 41 * Placemark settings. Which icons do you want to use 39 42 */ 40 $config['node_green'] = 'http://' . $config['url'] . dirname($config['uri']). '/img/sleutelGroen.png';41 $config['node_orange'] = 'http://' . $config['url'] . dirname($config['uri']). '/img/sleutelOranje.png';42 $config['node_red'] = 'http://' . $config['url'] . dirname($config['uri']). '/img/sleutelRood.png';43 $config['node_green'] = 'http://' . $config['url'] . $config['uri_root'] . '/img/sleutelGroen.png'; 44 $config['node_orange'] = 'http://' . $config['url'] . $config['uri_root'] . '/img/sleutelOranje.png'; 45 $config['node_red'] = 'http://' . $config['url'] . $config['uri_root'] . '/img/sleutelRood.png'; 43 46 $config['line_black'] = '#66000000'; 44 47 … … 68 71 //$config['kml_file'] = $config['root'] . '/map/inc/example.kml'; 69 72 // Should be something like: 70 $config['kml_file'] = 'http://' . $config['url'] . dirname($config['uri']). '/kml.php';73 $config['kml_file'] = 'http://' . $config['url'] . $config['uri_root'] . '/kml.php'; 71 74 72 75 /* Logfile stored location, should be writeable by webserver
Note:
See TracChangeset
for help on using the changeset viewer.