Backports fix for FullpathToRoot in GlobalSettings... not sure how some unit tests have been working this whole time.
Changes UseLegacySchema default value to false... was set to true!? un-ignores LookupByNiceUrl tests and still ensures it doesn't require a database to test by passing in an optional parameter to LookupByNiceUrl to specify if we want to include domain lookups or not (default is true)
This commit is contained in:
@@ -221,7 +221,7 @@ namespace Umbraco.Core.Configuration
|
||||
/// <value>The fullpath to root.</value>
|
||||
public static string FullpathToRoot
|
||||
{
|
||||
get { return HttpRuntime.AppDomainAppPath; }
|
||||
get { return IOHelper.GetRootDirectorySafe(); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -1062,7 +1062,7 @@ namespace Umbraco.Core.Configuration
|
||||
get
|
||||
{
|
||||
// default: true
|
||||
return _useLegacySchema ?? GetKeyValue("/settings/content/UseLegacyXmlSchema", true);
|
||||
return _useLegacySchema ?? GetKeyValue("/settings/content/UseLegacyXmlSchema", false);
|
||||
}
|
||||
internal set
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user