소스 검색

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