aboutsummaryrefslogtreecommitdiff
path: root/modules/base/conf.go
diff options
context:
space:
mode:
authorskyblue <ssx205@gmail.com>2014-03-23 23:45:08 +0800
committerskyblue <ssx205@gmail.com>2014-03-23 23:45:08 +0800
commit3070c5513d9529dc62333522c3f92025fffab542 (patch)
tree664715ccb6f2e516cc4f4cc7f9f8eb3fe5bf8d52 /modules/base/conf.go
parent139a6f80dc258bba1e61aa9584787b86ac4addf3 (diff)
parentb31070faf5ab73955585e4962d809be11098d767 (diff)
Merge branch 'master' of github.com:gogits/gogs
Diffstat (limited to 'modules/base/conf.go')
-rw-r--r--modules/base/conf.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/base/conf.go b/modules/base/conf.go
index fba05e88..b243a6ad 100644
--- a/modules/base/conf.go
+++ b/modules/base/conf.go
@@ -58,8 +58,7 @@ var (
SessionConfig *session.Config
SessionManager *session.Manager
- PictureService string
- PictureRootPath string
+ PictureService string
)
var Service struct {
@@ -269,7 +268,6 @@ func NewConfigContext() {
CookieRememberName = Cfg.MustValue("security", "COOKIE_REMEMBER_NAME")
PictureService = Cfg.MustValue("picture", "SERVICE")
- PictureRootPath = Cfg.MustValue("picture", "PATH")
// Determine and create root git reposiroty path.
RepoRootPath = Cfg.MustValue("repository", "ROOT")