Authored by 郝肖肖

go 跳转 https 处理

... ... @@ -274,7 +274,7 @@ class WebAction extends Controller_Abstract
protected function go($url)
{
if (substr($url, 0, 2) === '//') {
$url .= 'https:';
$url = 'https:' . $url;
}
headers_sent() || header('Location: ' . $url);
... ...