mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-12-26 15:37:22 +00:00
b4f4aeeec7
Updating TemplateTask to reflect changes in directories. Updating test cases to use App::build()/App::path()
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
|
|
)
|
|
);
|
|
|
|
?>
|