Browse Source

Mirror fix

pull/33/head
Unknown 11 years ago
parent
commit
bbd38829eb
  1. 1
      modules/base/conf.go
  2. 2
      routers/repo/single.go

1
modules/base/conf.go

@ -167,7 +167,6 @@ func init() {
os.Exit(2) os.Exit(2)
} }
} }
Cfg.BlockMode = false
AppName = Cfg.MustValue("", "APP_NAME", "Gogs: Go Git Service") AppName = Cfg.MustValue("", "APP_NAME", "Gogs: Go Git Service")
AppLogo = Cfg.MustValue("", "APP_LOGO", "img/favicon.png") AppLogo = Cfg.MustValue("", "APP_LOGO", "img/favicon.png")

2
routers/repo/single.go

@ -138,7 +138,7 @@ func Single(ctx *middleware.Context, params martini.Params) {
} }
} }
fmt.Println(Paths) log.Trace("repo.Single: Paths: %s", strings.Join(Paths, ", "))
ctx.Data["Paths"] = Paths ctx.Data["Paths"] = Paths
ctx.Data["Treenames"] = treenames ctx.Data["Treenames"] = treenames

Loading…
Cancel
Save