def _load_dotenv_from_env():
    """Load environment variables from paths specified in REFLEX_ENV_FILE."""
    show_deprecation = False
    env_env_file = os.environ.get("REFLEX_ENV_FILE")
    if not env_env_file:
        env_env_file = os.environ.get("ENV_FILE")
        if env_env_file:
            show_deprecation = True
    if show_deprecation:
        console.deprecate(
            "Usage of deprecated ENV_FILE env var detected.",
            reason="Prefer `REFLEX_` prefix when setting env vars.",
            deprecation_version="0.7.13",
            removal_version="0.8.0",
        )
    if env_env_file:
        _load_dotenv_from_str(env_env_file)
Load environment variables from paths specified in REFLEX_ENV_FILE.
reflex/config.py