mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-12-26 07:27:24 +00:00
42da5aba81
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7063 3807eeeb-6ff5-0310-8944-8be069107fe0
17 lines
No EOL
238 B
PHP
17 lines
No EOL
238 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
|
|
)
|
|
);
|
|
|
|
?>
|