Browse Source

update CanSelfUpdate

Luke 10 năm trước cách đây
mục cha
commit
821b6894e5

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

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