Browse Source

update CanSelfUpdate

Luke 9 years ago
parent
commit
821b6894e5
1 changed files with 4 additions and 0 deletions
  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