This commit is contained in:
Intern 2021-04-06 15:59:06 +08:00 committed by GitHub
parent dc369835c5
commit 524997e868
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,11 +21,11 @@ _startCountTime();
/* 主题初始化 */ /* 主题初始化 */
function themeInit($self) function themeInit($self)
{ {
/* 强用户关闭反垃圾保护 */ /* 强用户关闭反垃圾保护 */
Helper::options()->commentsAntiSpam = false; Helper::options()->commentsAntiSpam = false;
/* 强用户要求填写邮箱 */ /* 强用户要求填写邮箱 */
Helper::options()->commentsRequireMail = true; Helper::options()->commentsRequireMail = true;
/* 强用户要求无需填写url */ /* 强用户要求无需填写url */
Helper::options()->commentsRequireURL = false; Helper::options()->commentsRequireURL = false;
/* 强制用户开启评论回复 */ /* 强制用户开启评论回复 */
Helper::options()->commentsThreaded = true; Helper::options()->commentsThreaded = true;