mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
disable coreprofiles if ProfileServiceURL is not set
This commit is contained in:
@@ -300,6 +300,11 @@ namespace OpenSim.Region.CoreModules.Avatar.UserProfiles
|
||||
// If we find ProfileURL then we configure for FULL support
|
||||
// else we setup for BASIC support
|
||||
ProfileServerUri = profileConfig.GetString("ProfileServiceURL", "");
|
||||
if (string.IsNullOrEmpty(ProfileServerUri))
|
||||
{
|
||||
Enabled = false;
|
||||
return;
|
||||
}
|
||||
|
||||
OSHTTPURI tmp = new OSHTTPURI(ProfileServerUri, true);
|
||||
if (!tmp.IsResolvedHost)
|
||||
|
||||
@@ -43,7 +43,6 @@
|
||||
;; If this is a grided simulator, this is the address of the external robust server
|
||||
;; that runs the Gatekeeper service.
|
||||
;; For example http://myworld.com:9000 or http://myworld.com:8002
|
||||
;; This is a default that can be overwritten in some sections.
|
||||
; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}"
|
||||
|
||||
;# {GatekeeperURIAlias} {Hypergrid} {Old hostnames (FQDN), or IPs of the gatekeeper of this world and port (default 80 or 443)} {}
|
||||
@@ -56,7 +55,6 @@
|
||||
;; If this is a grided simulator, this is the address of the external robust server that
|
||||
;; runs the UserAgentsService.
|
||||
;; For example http://myworld.com:9000 or http://myworld.com:8002
|
||||
;; This is a default that can be overwritten in some sections.
|
||||
HomeURI = "${Const|BaseURL}:${Const|PublicPort}"
|
||||
|
||||
;# {HomeURIAlias} {Hypergrid} {Old hostnames (FQDN), or IPs of the gatekeeper of this world and port (default 80 or 443)} {}
|
||||
|
||||
Reference in New Issue
Block a user