Changeset 7870
- Timestamp:
- Apr 28, 2010, 1:23:00 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/config.php
r7869 r7870 34 34 $config['uri'] = $_SERVER['REQUEST_URI']; 35 35 // XXX: Dirty hack to fix the URI root folder, needs work 36 $config['uri_root'] = str_replace( '/map', '', dirname($config['uri']));36 $config['uri_root'] = str_replace(array('/inc', '/map'), '', dirname($config['uri'])); 37 37 echo $config['uri_root']; 38 38 $config['file_init'] = 'init.php';
Note:
See TracChangeset
for help on using the changeset viewer.