Fixes: U4-2918 After I set admin password, the error shows.(7.0.0-build.85, new install)

This commit is contained in:
Shannon
2013-09-25 16:52:26 +10:00
parent 55e9a4fbb0
commit a1f87c7232
3 changed files with 13 additions and 12 deletions

View File

@@ -26,18 +26,18 @@ namespace Umbraco.Core.Configuration.UmbracoSettings
set { base["repositoryurl"] = value; }
}
[ConfigurationProperty("repositoryurl", DefaultValue = "/umbraco/webservices/api/repository.asmx")]
[ConfigurationProperty("webserviceurl", DefaultValue = "/umbraco/webservices/api/repository.asmx")]
public string WebServiceUrl
{
get { return (string)base["repositoryurl"]; }
set { base["repositoryurl"] = value; }
get { return (string)base["webserviceurl"]; }
set { base["webserviceurl"] = value; }
}
public bool HasCustomWebServiceUrl
{
get
{
var prop = Properties["repositoryurl"];
var prop = Properties["webserviceurl"];
var repoUrl = this[prop] as ConfigurationElement;
return (repoUrl != null && repoUrl.ElementInformation.IsPresent);
}