Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
s_ibanshou
Project
Project
Details
Activity
Releases
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋林
s_ibanshou
Commits
71db0eec
Commit
71db0eec
authored
Nov 24, 2017
by
杨培
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
适应https
parent
65428b42
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
config_ibanshou.php
environments/prod/e/config/config_ibanshou.php
+5
-4
No files found.
environments/prod/e/config/config_ibanshou.php
View file @
71db0eec
<?php
<?php
$scheme
=
(
isset
(
$_SERVER
[
'REQUEST_SCHEME'
])
&&
$_SERVER
[
'REQUEST_SCHEME'
]
==
'http'
)
?
$_SERVER
[
'REQUEST_SCHEME'
]
:
'https'
;
$config
=
[
$config
=
[
//是否使用用户中心
//是否使用用户中心
...
@@ -23,10 +24,10 @@ $config = [
...
@@ -23,10 +24,10 @@ $config = [
//产品
//产品
'wxhpro'
=>
[
'wxhpro'
=>
[
'ucenter'
=>
'http
://u.ibanshou.cn'
,
'ucenter'
=>
$scheme
.
'
://u.ibanshou.cn'
,
'xue'
=>
'http
://xue.ibanshou.cn'
,
'xue'
=>
$scheme
.
'
://xue.ibanshou.cn'
,
's'
=>
'http
://s.ibanshou.cn'
,
's'
=>
$scheme
.
'
://s.ibanshou.cn'
,
'bbs'
=>
'http
://bbs.ibanshou.cn'
,
'bbs'
=>
$scheme
.
'
://bbs.ibanshou.cn'
,
],
],
//wxh_internal_api
//wxh_internal_api
...
...
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