mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
more macaroon stuff
This commit is contained in:
@@ -58,6 +58,10 @@ var (
|
||||
ProdMode bool
|
||||
RunUser string
|
||||
IsWindows bool
|
||||
|
||||
// PhantomJs Rendering
|
||||
ImagesDir string
|
||||
PhantomDir string
|
||||
)
|
||||
|
||||
func init() {
|
||||
@@ -140,6 +144,10 @@ func NewConfigContext() {
|
||||
|
||||
StaticRootPath = Cfg.MustValue("server", "static_root_path", workDir)
|
||||
RouterLogging = Cfg.MustBool("server", "router_logging", false)
|
||||
|
||||
// PhantomJS rendering
|
||||
ImagesDir = "data/png"
|
||||
PhantomDir = "_vendor/phantomjs"
|
||||
}
|
||||
|
||||
func initSessionService() {
|
||||
|
||||
Reference in New Issue
Block a user