请求设置是非常重要的部分,但是默认的设置需要能提供 LimeSurvey 最好的使用。
请参考 Yii 的相关文档进行配置。
配置实例:
[code]// Disable CSRF protection
‘request’ => array(
‘enableCsrfValidation’=>false,
),
// Set the base Url for all Complete url
‘request’ => array(
‘hostInfo’ => ‘http://www.example.org/’
),
// Set the cookie domain name for Csrf protection
‘request’ => array(
‘csrfCookie’ => array( ‘domain’ => ‘.example.com’ )
),[/code]
REF:[url]http://cwiki.ossez.com/pages/viewpage.action?pageId=7045280[/url]