Fixed settings default and explore path

This commit is contained in:
David Kaltschmidt 2018-04-27 15:35:46 +02:00
parent d338b7ea7b
commit 25d3ec5bbf
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ func setIndexViewData(c *m.ReqContext) (*dtos.IndexViewData, error) {
Icon: "fa fa-rocket",
Url: setting.AppSubUrl + "/explore",
Children: []*dtos.NavLink{
{Text: "New tab", Icon: "gicon gicon-dashboard-new", Url: setting.AppSubUrl + "/explore/new"},
{Text: "New tab", Icon: "gicon gicon-dashboard-new", Url: setting.AppSubUrl + "/explore"},
},
})
}

View File

@ -613,7 +613,7 @@ func NewConfigContext(args *CommandLineArgs) error {
ExecuteAlerts = alerting.Key("execute_alerts").MustBool(true)
explore := Cfg.Section("explore")
ExploreEnabled = explore.Key("enabled").MustBool(true)
ExploreEnabled = explore.Key("enabled").MustBool(false)
readSessionConfig()
readSmtpSettings()