From 644d111c9ac5b092883bd2a53ed789b44d440718 Mon Sep 17 00:00:00 2001 From: akuma06 Date: Sun, 16 Jul 2017 17:15:57 +0200 Subject: [PATCH] Replace controllers.DBDumpPath to databasedumpsController --- main.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index b4630858..1627c0d5 100644 --- a/main.go +++ b/main.go @@ -11,6 +11,7 @@ import ( "github.com/NyaaPantsu/nyaa/config" "github.com/NyaaPantsu/nyaa/controllers" + "github.com/NyaaPantsu/nyaa/controllers/databasedumps" "github.com/NyaaPantsu/nyaa/models" "github.com/NyaaPantsu/nyaa/utils/cookies" "github.com/NyaaPantsu/nyaa/utils/log" @@ -24,9 +25,9 @@ var buildversion string // RunServer runs webapp mainloop func RunServer(conf *config.Config) { // TODO Use config from cli - os.Mkdir(controllers.DatabaseDumpPath, 0700) + os.Mkdir(databasedumpsController.DatabaseDumpPath, 0700) // TODO Use config from cli - os.Mkdir(controllers.GPGPublicKeyPath, 0700) + os.Mkdir(databasedumpsController.GPGPublicKeyPath, 0700) http.Handle("/", controllers.CSRFRouter)