diff --git a/pylons_app/config/environment.py b/pylons_app/config/environment.py --- a/pylons_app/config/environment.py +++ b/pylons_app/config/environment.py @@ -3,7 +3,7 @@ from mako.lookup import TemplateLookup from pylons.configuration import PylonsConfig from pylons.error import handle_mako_error from pylons_app.config.routing import make_map -from pylons_app.lib.auth import set_available_permissions +from pylons_app.lib.auth import set_available_permissions, set_base_path from pylons_app.lib.utils import repo2db_mapper from pylons_app.model import init_model from pylons_app.model.hg_model import _get_repos_cached_initial @@ -63,7 +63,7 @@ def load_environment(global_conf, app_co init_model(sa_engine_db1) repo2db_mapper(_get_repos_cached_initial(config['pylons.app_globals'])) set_available_permissions(config) - config['base_path'] = config['pylons.app_globals'].base_path + set_base_path(config) # CONFIGURATION OPTIONS HERE (note: all config options will override # any Pylons config options)