瀏覽代碼

update CanSelfUpdate

Luke 9 年之前
父節點
當前提交
821b6894e5
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      MediaBrowser.Server.Startup.Common/ApplicationHost.cs

+ 4 - 0
MediaBrowser.Server.Startup.Common/ApplicationHost.cs

@@ -970,6 +970,10 @@ namespace MediaBrowser.Server.Startup.Common
         {
             get
             {
+				if (!ServerConfigurationManager.Configuration.EnableAutoUpdate) 
+				{
+					return false;
+				}
 #if DEBUG
                 return false;
 #endif