Fixed settings default and explore path
This commit is contained in:
+1
-1
@@ -125,7 +125,7 @@ func setIndexViewData(c *m.ReqContext) (*dtos.IndexViewData, error) {
|
|||||||
Icon: "fa fa-rocket",
|
Icon: "fa fa-rocket",
|
||||||
Url: setting.AppSubUrl + "/explore",
|
Url: setting.AppSubUrl + "/explore",
|
||||||
Children: []*dtos.NavLink{
|
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"},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -613,7 +613,7 @@ func NewConfigContext(args *CommandLineArgs) error {
|
|||||||
ExecuteAlerts = alerting.Key("execute_alerts").MustBool(true)
|
ExecuteAlerts = alerting.Key("execute_alerts").MustBool(true)
|
||||||
|
|
||||||
explore := Cfg.Section("explore")
|
explore := Cfg.Section("explore")
|
||||||
ExploreEnabled = explore.Key("enabled").MustBool(true)
|
ExploreEnabled = explore.Key("enabled").MustBool(false)
|
||||||
|
|
||||||
readSessionConfig()
|
readSessionConfig()
|
||||||
readSmtpSettings()
|
readSmtpSettings()
|
||||||
|
|||||||
Reference in New Issue
Block a user