@@ -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
|
||||
{
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user