mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-16 03:48:24 +00:00
2370ee9512
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3421 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
|
|
)
|
|
);
|
|
|
|
?>
|