mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +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)
|
||||
|
||||
Reference in New Issue
Block a user