1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-23 02:00:50 +00:00

Merge pull request #111 from marswj/master

统一文档和代码中RunMode
This commit is contained in:
astaxie 2013-07-27 20:33:00 -07:00
commit 29b1c8e1cb
2 changed files with 4 additions and 4 deletions

View File

@ -97,11 +97,11 @@ It generates folders and files for your project, directory structure as follows:
Beego uses development mode as default, you can use following code to change mode in your application:
beego.RunMode = "pro"
beego.RunMode = "prod"
Or use configuration file in `conf/app.conf`, and input following content:
runmode = pro
runmode = prod
No differences between two ways.

View File

@ -101,11 +101,11 @@
我们可以通过如下的方式改变我们的模式:
beego.RunMode = "pro"
beego.RunMode = "prod"
或者我们在conf/app.conf下面设置如下
runmode = pro
runmode = prod
以上两种效果一样。