summaryrefslogtreecommitdiff
path: root/boardvoting.go
diff options
context:
space:
mode:
Diffstat (limited to 'boardvoting.go')
-rw-r--r--boardvoting.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/boardvoting.go b/boardvoting.go
index c467b40..8ad5438 100644
--- a/boardvoting.go
+++ b/boardvoting.go
@@ -23,6 +23,8 @@ import (
var logger *log.Logger
var config *Config
var store *sessions.CookieStore
+var version = "undefined"
+var build = "undefined"
const sessionCookieName = "votesession"
@@ -407,6 +409,8 @@ func init() {
}
func main() {
+ logger.Printf("CAcert Board Voting version %s, build %s\n", version, build)
+
var err error
db, err = sqlx.Open("sqlite3", config.DatabaseFile)
if err != nil {