def METHOD_NAME(request):
    """
    A custom context processor which allows injection of additional
    context variables.
    """
    context = {}
    webui_host = request.get_host()
    context['oq_engine_server_url'] = ('//' +
                                       (webui_host if webui_host else
                                        request.META.get('HTTP_HOST',
                                                        'localhost:8800'))
                                        + settings.WEBUI_PATHPREFIX)
    # this context var is also evaluated by the STANDALONE_APPS to identify
    # the running environment. Keep it as it is
    context['oq_engine_version'] = oqversion
    context['server_name'] = settings.SERVER_NAME
    return context