mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Moving Host.config over to ~/Config instead of ~/App_Data
Assumes you may want to consider it's settings not quite as portable as tenant info --HG-- branch : dev
This commit is contained in:
@@ -53,7 +53,7 @@ namespace Orchard.Environment {
|
||||
if (autofacSection != null)
|
||||
builder.RegisterModule(new ConfigurationSettingsReader());
|
||||
|
||||
var optionalHostConfig = HostingEnvironment.MapPath("~/App_Data/Host.config");
|
||||
var optionalHostConfig = HostingEnvironment.MapPath("~/Config/Host.config");
|
||||
if (File.Exists(optionalHostConfig))
|
||||
builder.RegisterModule(new ConfigurationSettingsReader(ConfigurationSettingsReader.DefaultSectionName, optionalHostConfig));
|
||||
|
||||
|
Reference in New Issue
Block a user