env: expose default base dir into env on app start

This commit is contained in:
RhodeCode Admin 2023-07-18 11:02:03 +02:00
parent cf125256a4
commit e05e38474b

View file

@ -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))