mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-12-24 14:37:25 +00:00
16 lines
No EOL
255 B
PHP
16 lines
No EOL
255 B
PHP
<?php
|
|
echo $this->Rss->header();
|
|
|
|
if (!isset($channel)) {
|
|
$channel = array();
|
|
}
|
|
if (!isset($channel['title'])) {
|
|
$channel['title'] = $title_for_layout;
|
|
}
|
|
|
|
echo $this->Rss->document(
|
|
$this->Rss->channel(
|
|
array(), $channel, $content_for_layout
|
|
)
|
|
);
|
|
?>
|