Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
web_index
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
web_index
Commits
4d0e9fc9
Commit
4d0e9fc9
authored
Jul 31, 2018
by
tufengqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
外层怕配置逻辑修改
parent
fb06bdb6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
VersionApp.php
VersionApp.php
+3
-1
No files found.
VersionApp.php
View file @
4d0e9fc9
<?php
defined
(
'SERVICE_FORCE_VERSION_KEY'
)
||
define
(
'SERVICE_FORCE_VERSION_KEY'
,
'thrift_impl_version'
);
require_once
__DIR__
.
'/InitAppHelper.php'
;
require
$app_package_path
.
'LoadConfig.php'
;
$cookie_version
=
$_COOKIE
[
SERVICE_FORCE_VERSION_KEY
]
??
''
;
$cookie_version
=
$cookie_version
?
:
(
$_COOKIE
[
VERSION_KEY
]
??
''
);
$cookie_version
=
trim
(
$cookie_version
);
...
...
@@ -81,7 +82,8 @@ if (true === $location_default_version) {
throw
new
Exception
(
'服务器代码定位错误'
);
}
}
require_once
$app_package_path
.
'LoadConfig.php'
;
// 重载外层配置路径
require
$app_package_path
.
'LoadConfig.php'
;
defined
(
'YII_DEBUG'
)
||
define
(
'YII_DEBUG'
,
true
);
defined
(
'YII_ENV_DEV'
)
||
define
(
'YII_ENV_DEV'
,
'dev'
);
defined
(
'APP_FOLDER'
)
||
define
(
'APP_FOLDER'
,
'application'
);
...
...
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