|
|
@ -80,7 +80,8 @@ Class SiteController extends Controller { |
|
|
|
return $this->request($postbackApi, null, $timeout); |
|
|
|
return $this->request($postbackApi, null, $timeout); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//TODO: 增加cookie跟踪同意/不同意选择,确保用户知道cookie跟踪了哪些数据 |
|
|
|
//增加cookie跟踪同意/不同意选择,确保用户知道cookie跟踪了哪些数据 |
|
|
|
|
|
|
|
//在3个页面显示cookies协议:首页、注册、登录 |
|
|
|
public function actionIndex() { |
|
|
|
public function actionIndex() { |
|
|
|
if (function_exists('mb_strlen') == false) { |
|
|
|
if (function_exists('mb_strlen') == false) { |
|
|
|
throw new Exception('Please install php extension php-mbstring first!', 500); |
|
|
|
throw new Exception('Please install php extension php-mbstring first!', 500); |
|
|
|