The two are functionally identical...if we want to encourage functions over using elgg_get_config() for certain values we need to start adding deprecation notices or other documentation.