8000 6.8 · githubsunyf/cms@54aa25a · GitHub
[go: up one dir, main page]

Skip to content

Commit 54aa25a

Browse files
committed
6.8
1 parent d902506 commit 54aa25a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

SiteServer.Web/Controllers/Pages/PagesMainController.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
using System.Threading.Tasks;
55
using System.Web;
66
using System.Web.Http;
7+
using SiteServer.BackgroundPages;
78
using SiteServer.BackgroundPages.Cms;
89
using SiteServer.BackgroundPages.Settings;
910
using SiteServer.CMS.Api.Preview;
@@ -42,7 +43,6 @@ public IHttpActionResult GetConfig()
4243
});
4344
}
4445

45-
#if !DEBUG
4646
if (ConfigManager.Instance.IsInitialized && ConfigManager.Instance.DatabaseVersion != SystemManager.Version)
4747
{
4848
return Ok(new
@@ -51,7 +51,6 @@ public IHttpActionResult GetConfig()
5151
RedirectUrl = PageSyncDatabase.GetRedirectUrl()
5252
});
5353
}
54-
#endif
5554

5655
if (!request.IsAdminLoggin || request.AdminInfo == null || request.AdminInfo.IsLockedOut)
5756
{

0 commit comments

Comments
 (0)
0