diff options
author | Unknwon <joe2010xtmf@163.com> | 2015-02-01 12:41:03 -0500 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2015-02-01 12:41:03 -0500 |
commit | b293b6eaa6b305bbac2147f76d5722607e8aa04b (patch) | |
tree | 92e60483c65594729b7bbcf60ca9d15b1932be1f /modules/setting | |
parent | 3d9cda2d98940102b1bdffc053e036cc696b9f8e (diff) | |
download | gitea-b293b6eaa6b305bbac2147f76d5722607e8aa04b.tar.gz gitea-b293b6eaa6b305bbac2147f76d5722607e8aa04b.zip |
cmd: CMD option for port number of `gogs web` to prevent first time run conflict
- routers: use new binding convention to simplify code
- templates: able to set HTTP port number in install page
Diffstat (limited to 'modules/setting')
-rw-r--r-- | modules/setting/setting.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go index bc9da3c63a..e7c44cdd4f 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -178,7 +178,7 @@ func NewConfigContext() { log.Fatal(4, "Fail to load custom 'conf/app.ini': %v", err) } } else { - log.Warn("No custom 'conf/app.ini' found, please go to '/install'") + log.Warn("No custom 'conf/app.ini' found, ignore this if you're running first time") } Cfg.NameMapper = ini.AllCapsUnderscore |