mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 19:38:26 +00:00
dfe85153f2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6153 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
|
|
)
|
|
);
|
|
|
|
?>
|