Changeset 7870


Ignore:
Timestamp:
Apr 28, 2010, 1:23:00 PM (15 years ago)
Author:
Pieter Naber
Message:

Another dirty hack >:-)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/config.php

    r7869 r7870  
    3434$config['uri']                          = $_SERVER['REQUEST_URI'];
    3535// 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']));
    3737echo $config['uri_root'];
    3838$config['file_init']            = 'init.php';
Note: See TracChangeset for help on using the changeset viewer.