实现贡献者投稿无需审核
// 打开Edit.php
// 网站根目录 /var/Widget/Contents/Post/Edit.php
// 找到 if ($this->user->pass('editor', true))
if ($this->user->pass('editor', true))
// 替换为以下代码,有两处需要替换
if ($this->user->pass('contributor', true))
// 打开Edit.php
// 网站根目录 /var/Widget/Contents/Post/Edit.php
// 找到 if ($this->user->pass('editor', true))
if ($this->user->pass('editor', true))
// 替换为以下代码,有两处需要替换
if ($this->user->pass('contributor', true))
评论 (0)