Explorar o código

update CanSelfUpdate

Luke %!s(int64=9) %!d(string=hai) anos
pai
achega
821b6894e5
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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