summaryrefslogtreecommitdiffstats
path: root/gogs.go
diff options
context:
space:
mode:
authorslene <vslene@gmail.com>2014-03-15 19:01:50 +0800
committerslene <vslene@gmail.com>2014-03-15 19:01:50 +0800
commitfa5ad1e46560bd006bccf57e5cac39589d18e344 (patch)
tree6157a0fb7f2333207d8ba907713be873b3eb0e52 /gogs.go
parent06deed820d9f48ecf972c8716b17ad58b91ab9b9 (diff)
downloadgitea-fa5ad1e46560bd006bccf57e5cac39589d18e344.tar.gz
gitea-fa5ad1e46560bd006bccf57e5cac39589d18e344.zip
move templateFuncs to one file, add middleware context.
Diffstat (limited to 'gogs.go')
-rw-r--r--gogs.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/gogs.go b/gogs.go
index 056fb2db61..e826ab9f36 100644
--- a/gogs.go
+++ b/gogs.go
@@ -23,6 +23,7 @@ const go11tag = true
const APP_VER = "0.0.8.0315"
func init() {
+ base.AppVer = APP_VER
runtime.GOMAXPROCS(runtime.NumCPU())
}