Added server metrics

This commit is contained in:
Torkel Ödegaard
2015-03-22 15:14:00 -04:00
parent 7d4293f849
commit d987532262
19 changed files with 396 additions and 2 deletions
+4
View File
@@ -96,6 +96,8 @@ var (
PhantomDir string
configFiles []string
ReportingEnabled bool
)
func init() {
@@ -233,6 +235,8 @@ func NewConfigContext(config string) {
ImagesDir = "data/png"
PhantomDir = "vendor/phantomjs"
ReportingEnabled = Cfg.Section("").Key("reporting-enabled").MustBool(true)
readSessionConfig()
}