...
|
...
|
@@ -93,8 +93,14 @@ class LoginController extends AbstractAction |
|
|
$this->setCookie('_SPK', null);
|
|
|
$this->setCookie('PHPSESSID', null);
|
|
|
|
|
|
$refer = $this->server('HTTP_REFERER', SITE_MAIN);
|
|
|
$this->go($refer);
|
|
|
$isWeixin = stripos($this->server('HTTP_USER_AGENT', ''), 'MicroMessenger') !== false;
|
|
|
|
|
|
if ($isWeixin) {
|
|
|
$this->go(Helpers::url('/signin.html'));
|
|
|
} else {
|
|
|
$refer = $this->server('HTTP_REFERER', SITE_MAIN);
|
|
|
$this->go($refer);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
|