From e5e1ca64d04e5077269acb92f0f97f4c3a405a0c Mon Sep 17 00:00:00 2001 From: Eltrac Koalar Date: Sun, 25 Sep 2022 14:47:27 +0800 Subject: =?UTF-8?q?:lock:=20Add:=20=E4=B8=BA=E5=AF=86=E7=A0=81=E4=BF=9D?= =?UTF-8?q?=E6=8A=A4=E6=96=87=E7=AB=A0=E7=9A=84=E8=A1=A8=E5=8D=95=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- functions.php | 1 - 1 file changed, 1 deletion(-) (limited to 'functions.php') 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';//强制评论第一页 -- cgit v1.2.3