env: expose default base dir into env on app start
This commit is contained in:
parent
cf125256a4
commit
e05e38474b
1 changed files with 1 additions and 0 deletions
|
|
@ -82,6 +82,7 @@ def load_pyramid_environment(global_config, settings):
|
|||
rhodecode.PYRAMID_SETTINGS = settings_merged
|
||||
rhodecode.CONFIG = settings_merged
|
||||
rhodecode.CONFIG['default_user_id'] = utils.get_default_user_id()
|
||||
rhodecode.CONFIG['default_base_path'] = utils.get_default_base_path()
|
||||
|
||||
if vcs_server_enabled:
|
||||
connect_vcs(vcs_server_uri, utils.get_vcs_server_protocol(settings))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue