1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-04 10:00:18 +00:00
This commit is contained in:
astaxie
2013-07-07 17:58:50 +08:00
parent 461eac46b9
commit 11977f4f77
3 changed files with 6 additions and 1 deletions

View File

@ -43,6 +43,7 @@ var (
DirectoryIndex bool //ebable DirectoryIndex default is false
EnbaleHotUpdate bool //enable HotUpdate default is false
HttpServerTimeOut int64
ErrorsShow bool
)
func init() {
@ -70,6 +71,7 @@ func init() {
StaticDir["/static"] = "static"
AppConfigPath = path.Join(AppPath, "conf", "app.conf")
HttpServerTimeOut = 0
ErrorsShow = true
ParseConfig()
}