Forráskód Böngészése

bugfix GetPlatform

yearski 2 éve
szülő
commit
1a8538d0b4
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      servercfg/serverconf.go

+ 1 - 1
servercfg/serverconf.go

@@ -494,7 +494,7 @@ func GetPlatform() string {
 	if os.Getenv("PLATFORM") != "" {
 		platform = os.Getenv("PLATFORM")
 	} else if config.Config.Server.Platform != "" {
-		platform = config.Config.Server.SQLConn
+		platform = config.Config.Server.Platform
 	}
 	return platform
 }