mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-17 20:38:25 +00:00
29e15386b2
correct assert order for test
17 lines
No EOL
264 B
PHP
17 lines
No EOL
264 B
PHP
<?php
|
|
echo $this->Rss->header();
|
|
|
|
if (!isset($channel)) {
|
|
$channel = array();
|
|
}
|
|
if (!isset($channel['title'])) {
|
|
$channel['title'] = $this->fetch('title');
|
|
}
|
|
|
|
echo $this->Rss->document(
|
|
$this->Rss->channel(
|
|
array(), $channel, $this->fetch('content')
|
|
)
|
|
);
|
|
|
|
?>
|