Fixes: 27616

[TFS Changeset #69132]
This commit is contained in:
Shandem
2010-06-16 14:07:36 +00:00
parent abef54cb28
commit df7792f398
2 changed files with 9 additions and 2 deletions

View File

@@ -70,8 +70,15 @@ namespace umbraco.presentation.preview
public void SavePreviewSet()
{
//make sure the preview folder exists first
var dir = new DirectoryInfo(IO.IOHelper.MapPath(IO.SystemDirectories.Preview));
if (!dir.Exists)
{
dir.Create();
}
// check for old preview sets and try to clean
foreach (FileInfo file in new DirectoryInfo(IO.IOHelper.MapPath(IO.SystemDirectories.Preview)).GetFiles(m_userId + "_*.config"))
foreach (FileInfo file in dir.GetFiles(m_userId + "_*.config"))
{
try
{

View File

@@ -8,7 +8,7 @@
</xsl:template>
<xsl:template match="/configuration/appSettings/add[@key='umbracoConfigurationStatus']/@value">
<xsl:attribute name="value">4.1.0.betaII</xsl:attribute>
<xsl:attribute name="value">4.1.0.RC</xsl:attribute>
</xsl:template>
<xsl:template match="/configuration/appSettings/add[@key='umbracoContentXML']/@value">