Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
beego
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
beego
Commits
9a7554fa
Commit
9a7554fa
authored
Feb 20, 2018
by
takeo-lvgs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix the issue #3063
parent
37d1c136
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
config.go
config.go
+2
-2
No files found.
config.go
View file @
9a7554fa
...
...
@@ -138,8 +138,8 @@ func init() {
panic
(
err
)
}
var
filename
=
"app.conf"
if
os
.
Getenv
(
"BEEGO_MODE"
)
!=
""
{
filename
=
os
.
Getenv
(
"BEEGO_MODE"
)
+
".app.conf"
if
os
.
Getenv
(
"BEEGO_
RUN
MODE"
)
!=
""
{
filename
=
os
.
Getenv
(
"BEEGO_
RUN
MODE"
)
+
".app.conf"
}
appConfigPath
=
filepath
.
Join
(
workPath
,
"conf"
,
filename
)
if
!
utils
.
FileExists
(
appConfigPath
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment