Added server metrics
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user