Toggle navigation
Toggle navigation
This project
Loading...
Sign in
chenchao
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
hf
2016-03-15 16:10:20 +0800
Commit
25464c62af7e092862dadaf83886fc973b9d538b
1 parent
9cf4c6b8
code review by fei.hong: fixes bug to www redirect url
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
library/WebPlugin/Mobile.php
library/WebPlugin/Mobile.php
View file @
25464c6
...
...
@@ -76,7 +76,7 @@ class Mobile
$uri
=
'/girls'
;
}
if
(
$host
===
'www.yohobuy.com'
)
{
$url
=
'm.yohobuy.com'
.
$uri
;
return
'm.yohobuy.com'
.
$uri
;
}
$url
=
strtr
(
$host
,
array
(
'.yohobuy.com'
=>
'.m.yohobuy.com'
))
.
$uri
;
...
...
Please
register
or
login
to post a comment