summaryrefslogtreecommitdiffstats
path: root/api/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/api.go')
-rw-r--r--api/api.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/api/api.go b/api/api.go
index 6c7eda0a2..3b35a08fa 100644
--- a/api/api.go
+++ b/api/api.go
@@ -5,11 +5,14 @@ package api
import (
"bytes"
- l4g "code.google.com/p/log4go"
+ l4g "github.com/alecthomas/log4go"
"github.com/mattermost/platform/model"
"github.com/mattermost/platform/utils"
"html/template"
"net/http"
+
+ _ "github.com/cloudfoundry/jibber_jabber"
+ _ "github.com/nicksnyder/go-i18n/i18n"
)
var ServerTemplates *template.Template
@@ -46,6 +49,7 @@ func InitApi() {
InitOAuth(r)
InitWebhook(r)
InitPreference(r)
+ InitLicense(r)
templatesDir := utils.FindDir("api/templates")
l4g.Debug("Parsing server templates at %v", templatesDir)