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
d8d3b8c65ba0bc33bbc2dcbd135232a7ff79fd50
1 parent
0ce20b12
merge https分支
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
library/Plugin/Helpers.php
library/Plugin/Helpers.php
View file @
d8d3b8c
...
...
@@ -74,7 +74,7 @@ class Helpers
public
static
function
getFilterUrl
(
$url
)
{
$url
=
strtr
(
$url
,
array
(
'.m.yohobuy.com'
=>
SUB_DOMAIN
,
OLD_MAIN
=>
SITE_MAIN
,
'www.yohobuy.com'
=>
SITE_MAIN
));
$url
=
strtr
(
$url
,
array
(
'http://'
=>
'//'
));
//
$url = strtr($url, array('http://' => '//'));
$filter
=
strstr
(
$url
,
'openby:yohobuy='
,
true
);
if
(
$filter
)
{
return
rtrim
(
rtrim
(
$filter
,
'?'
),
'&'
);
...
...
Please
register
or
login
to post a comment