欢迎各位兄弟 发布技术文章
这里的技术是共享的
$config['csrf_protection'] = false;
1.修改system/core/Security.php文件注释掉
function __construct()其中的第一行代码如下
//if (config_item('csrf_protection') === TRUE)
2.手动使用
1>controller
1 2 3 4 5 6 7 8 |
|
2>view文件
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
|
3>提交
1 2 3 4 5 6 7 |
|