mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-16 11:58:25 +00:00
328fcdc376
Closes #1698
13 lines
237 B
PHP
13 lines
237 B
PHP
<?php
|
|
if (!isset($channel)):
|
|
$channel = array();
|
|
endif;
|
|
if (!isset($channel['title'])):
|
|
$channel['title'] = $title_for_layout;
|
|
endif;
|
|
|
|
echo $this->Rss->document(
|
|
$this->Rss->channel(
|
|
array(), $channel, $this->fetch('content')
|
|
)
|
|
);
|