Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
console
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tufengqi
console
Commits
df85f958
Commit
df85f958
authored
Aug 09, 2018
by
tufengqi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/parameter' into 'master'
重置外层配置路径 See merge request
!1
parents
4ac1d738
bc216bab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
VersionApp.php
VersionApp.php
+2
-0
No files found.
VersionApp.php
View file @
df85f958
...
...
@@ -70,6 +70,8 @@ if (true === $location_default_version) {
throw
new
Exception
(
'服务器代码定位错误'
);
}
}
// 重载外层配置路径
require
$app_package_path
.
'LoadConfig.php'
;
defined
(
'YII_DEBUG'
)
or
define
(
'YII_DEBUG'
,
true
);
defined
(
'YII_ENV'
)
or
define
(
'YII_ENV'
,
'dev'
);
$GLOBALS
[
'GLOBAL_VERSION_VALUE'
]
=
$version_val
;
...
...
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