Skip to content

Commit 06e3ab3

Browse files
committed
Make gallery feed portable for revision builder
1 parent 1c83b9a commit 06e3ab3

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

BlogEngine/BlogEngine.Core/BlogSettings.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -733,6 +733,16 @@ public bool EnablePasswordReset
733733

734734
#endregion
735735

736+
#region IsCoCommentEnabled
737+
738+
/// <summary>
739+
/// Only here so old themes won't break
740+
/// </summary>
741+
/// <value>false</value>
742+
public bool IsCoCommentEnabled { get; set; }
743+
744+
#endregion
745+
736746
#region EnableCommentsModeration
737747

738748
/// <summary>

BlogEngine/BlogEngine.Core/Data/Services/Updater.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace BlogEngine.Core.Data.Services
1010
/// </summary>
1111
public class Updater
1212
{
13-
private static string _upgradeReleases = "http://dnbe.net/v01/Releases/";
13+
private static string _upgradeReleases = BlogConfig.GalleryFeedUrl.Replace("nuget", "/Releases/");
1414
private string _versionsTxt = _upgradeReleases + "versions.txt";
1515
private string _setupTxt = _upgradeReleases + "setup.txt";
1616
private string _latestSetup = _upgradeReleases + "setup.zip";

BlogEngine/BlogEngine.NET/setup/upgrade/Updater.asmx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ using System.Collections.Generic;
44
using System.Web.Script.Services;
55
using System.Web.Services;
66
using System.Web.Hosting;
7-
using System.Linq;
87
using System.Web;
98
using System.IO;
109
using ICSharpCode.SharpZipLib.Core;
@@ -23,7 +22,7 @@ public class Updater : WebService {
2322
private string _root;
2423
private string _newZip;
2524
private string _oldZip;
26-
private static string _upgradeReleases = "http://dnbe.net/v01/Releases/";
25+
private static string _upgradeReleases = BlogConfig.GalleryFeedUrl.Replace("nuget", "/Releases/");
2726
private string _downloadUrl = _upgradeReleases + "{0}.zip";
2827
private string _versionsTxt = _upgradeReleases + "versions.txt";
2928
private bool _test = false; // when set to "true" will run in test mode without actually updating site

0 commit comments

Comments
 (0)