关于评论的判断
This commit is contained in:
+3
-1
@@ -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>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user