Changeset 801


Ignore:
Timestamp:
08/10/09 10:05:41 (5 years ago)
Author:
cbalan
Message:

OForgePlugin: Allow set base_uri var from env.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/oforgeplugin/share/cgi-bin/trac-index.wsgi

    r204 r801  
    2323    index_template_file = environ.get('trac.env_index_template') 
    2424    env_parent_dir = environ.get('trac.env_parent_dir') 
    25     trac_base_uri = '/' + environ.get('REQUEST_URI').strip('/')  
     25    trac_base_uri = '/' + (environ.get('trac.base_uri',environ.get('REQUEST_URI'))).strip('/')  
    2626 
    2727        # setup defaults to prevent configuration not found 
Note: See TracChangeset for help on using the changeset viewer.