From 7bdedff89c569f754e9d40914f154478078cf682 Mon Sep 17 00:00:00 2001 From: Carl Bergquist Date: Thu, 13 Oct 2016 15:36:35 +0200 Subject: [PATCH] feat(plugins): make sure windows data plugin path is absolute (#6264) --- pkg/setting/setting.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/setting/setting.go b/pkg/setting/setting.go index 28eaaa5b5d5..94d93d3743e 100644 --- a/pkg/setting/setting.go +++ b/pkg/setting/setting.go @@ -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)