feat(plugins): make sure windows data plugin path is absolute (#6264)

This commit is contained in:
Carl Bergquist 2016-10-13 15:36:35 +02:00 committed by Torkel Ödegaard
parent 44f064392d
commit 7bdedff89c

View File

@ -461,7 +461,7 @@ func NewConfigContext(args *CommandLineArgs) error {
Env = Cfg.Section("").Key("app_mode").MustString("development")
InstanceName = Cfg.Section("").Key("instance_name").MustString("unknown_instance_name")
PluginsPath = Cfg.Section("paths").Key("plugins").String()
PluginsPath = makeAbsolute(Cfg.Section("paths").Key("plugins").String(), HomePath)
server := Cfg.Section("server")
AppUrl, AppSubUrl = parseAppUrlAndSubUrl(server)