关于评论的判断

This commit is contained in:
浪子
2024-05-17 18:23:58 +08:00
parent 46f50de81b
commit 965dd0fc7f
8 changed files with 22 additions and 16 deletions
+3 -1
View File
@@ -24,7 +24,9 @@ if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
</ul>
</div>
<?php $this->need('comments.php'); ?>
<?php if ($this->allow('comment')): ?>
<?php $this->need('comments.php'); ?>
<?php endif; ?>
</section>