...
|
...
|
@@ -74,6 +74,9 @@ 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));
|
|
|
if (strrpos($url, 'm.yohobuy.com') !== 0) {
|
|
|
$url = strtr($url, array('http://' => '//'));
|
|
|
}
|
|
|
$filter = strstr($url, 'openby:yohobuy=', true);
|
|
|
if ($filter) {
|
|
|
return rtrim(rtrim($filter, '?'), '&');
|
...
|
...
|
|