...
|
...
|
@@ -40,7 +40,7 @@ class LoginController extends WebAction |
|
|
//登录后跳转页面
|
|
|
$refer = $this->get('refer', $this->server('HTTP_REFERER', ''));
|
|
|
//检查refer是否为绝对路径,补www.yohobuy.com
|
|
|
if (!strstr($refer, 'http')) {
|
|
|
if (substr($refer, 0, 2) !== '//' && !strstr($refer, 'http')) {
|
|
|
$refer = SITE_MAIN . $refer;
|
|
|
}
|
|
|
if (!empty($refer)) {
|
...
|
...
|
|