more macaroon stuff

This commit is contained in:
Torkel Ödegaard
2014-10-06 15:31:54 -04:00
parent 222319d924
commit e84f06b503
17 changed files with 343 additions and 11 deletions

View File

@@ -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() {