アクセス許可管理
This commit is contained in:
@@ -16,7 +16,7 @@ class Atom extends BlogPost {
|
||||
public function feed(array $params): void {
|
||||
try {
|
||||
// 最新の投稿を取得
|
||||
$posts = $this->getPosts('/blog/');
|
||||
$posts = $this->getPosts('/blog/', null);
|
||||
// 最新の5件に制限
|
||||
$posts = array_slice($posts, 0, 5);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user