mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Updating outdated layout file in skeleton
This commit is contained in:
parent
b0b36e8fba
commit
4e1a2670da
2 changed files with 3 additions and 6 deletions
|
@ -1,6 +1,4 @@
|
|||
<?php
|
||||
echo $rss->header();
|
||||
|
||||
if (!isset($channel)) {
|
||||
$channel = array();
|
||||
}
|
||||
|
@ -8,10 +6,9 @@ if (!isset($channel['title'])) {
|
|||
$channel['title'] = $title_for_layout;
|
||||
}
|
||||
|
||||
echo $rss->document(
|
||||
$rss->channel(
|
||||
echo $this->Rss->document(
|
||||
$this->Rss->channel(
|
||||
array(), $channel, $content_for_layout
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
Loading…
Reference in a new issue