Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
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 18:08:39 +0800
Commit
68708c2aca557ea1c57a21dfc6aa35847a1dcd8b
1 parent
25464c62
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 @
68708c2
...
...
@@ -75,10 +75,10 @@ class Mobile
if
(
$uri
===
'/woman'
)
{
$uri
=
'/girls'
;
}
// 首页特殊跳转
if
(
$host
===
'www.yohobuy.com'
)
{
return
'm.yohobuy.com'
.
$uri
;
}
$url
=
strtr
(
$host
,
array
(
'.yohobuy.com'
=>
'.m.yohobuy.com'
))
.
$uri
;
return
$url
;
...
...
Please
register
or
login
to post a comment