1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-23 02:38:35 +00:00

Add postgres support, clean code, code review

This commit is contained in:
Unknown
2014-03-17 14:03:58 -04:00
parent 9d3b003add
commit e51afe4621
19 changed files with 1124 additions and 303 deletions

View File

@@ -4,8 +4,6 @@
package base
import ()
type (
// Type TmplData represents data in the templates.
TmplData map[string]interface{}

View File

@@ -48,6 +48,7 @@ func init() {
fmt.Printf("Cannot load config file '%s'\n", cfgPath)
os.Exit(2)
}
Cfg.BlockMode = false
cfgPath = filepath.Join(workDir, "custom/conf/app.ini")
if com.IsFile(cfgPath) {