Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郝肖肖
9 years ago
Commit
ad1c7a8bcca05efa28dda1aaf1229d06362bcab3
1 parent
609778d2
go 跳转 https 处理
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
library/Action/WebAction.php
library/Action/WebAction.php
View file @
ad1c7a8
...
...
@@ -274,7 +274,7 @@ class WebAction extends Controller_Abstract
protected
function
go
(
$url
)
{
if
(
substr
(
$url
,
0
,
2
)
===
'//'
)
{
$url
.=
'https:'
;
$url
=
'https:'
.
$url
;
}
headers_sent
()
||
header
(
'Location: '
.
$url
);
...
...
Please
register
or
login
to post a comment