diff options
| author | Eltrac Koalar <hi@guhub.cn> | 2022-09-25 14:47:27 +0800 |
|---|---|---|
| committer | Eltrac Koalar <hi@guhub.cn> | 2022-09-25 14:47:27 +0800 |
| commit | e5e1ca64d04e5077269acb92f0f97f4c3a405a0c (patch) | |
| tree | b736872bc65f6b4b865b9881a2cfa1da01ace5cd /functions.php | |
| parent | fd0a662000ae32140ad76e14db2de995493c6913 (diff) | |
:lock: Add: 为密码保护文章的表单添加样式
Diffstat (limited to 'functions.php')
| -rw-r--r-- | functions.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/functions.php b/functions.php index 9c139c9..5a2f7ff 100644 --- a/functions.php +++ b/functions.php @@ -14,7 +14,6 @@ Typecho_Plugin::factory('Widget_Abstract_Contents')->contentEx = array('Matcha', Typecho_Plugin::factory('Widget_Abstract_Contents')->excerptEx = array('Matcha','parseContent'); function themeInit($archive) { - if ($archive->hidden) header('HTTP/1.1 200 OK');//暴力解决访问加密文章会被 pjax 刷新页面的问题 Helper::options()->commentsAntiSpam = false; //关闭反垃圾 Helper::options()->commentsMaxNestingLevels = '9999';//最大嵌套层数 Helper::options()->commentsPageDisplay = 'first';//强制评论第一页 |
