mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-12-24 22:47:22 +00:00
6319f8ea69
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7847 3807eeeb-6ff5-0310-8944-8be069107fe0
16 lines
No EOL
237 B
PHP
16 lines
No EOL
237 B
PHP
<?php
|
|
echo $rss->header();
|
|
|
|
if (!isset($channel)) {
|
|
$channel = array();
|
|
}
|
|
if (!isset($channel['title'])) {
|
|
$channel['title'] = $title_for_layout;
|
|
}
|
|
|
|
echo $rss->document(
|
|
$rss->channel(
|
|
array(), $channel, $content_for_layout
|
|
)
|
|
);
|
|
?>
|