Updating outdated layout file in skeleton

This commit is contained in:
ADmad 2012-04-14 19:22:52 +05:30
parent b0b36e8fba
commit 4e1a2670da
2 changed files with 3 additions and 6 deletions

View file

@ -1,6 +1,4 @@
<?php <?php
echo $rss->header();
if (!isset($channel)) { if (!isset($channel)) {
$channel = array(); $channel = array();
} }
@ -8,10 +6,9 @@ if (!isset($channel['title'])) {
$channel['title'] = $title_for_layout; $channel['title'] = $title_for_layout;
} }
echo $rss->document( echo $this->Rss->document(
$rss->channel( $this->Rss->channel(
array(), $channel, $content_for_layout array(), $channel, $content_for_layout
) )
); );
?> ?>