initial commit
This commit is contained in:
14
app/View/Layouts/rss/default.ctp
Normal file
14
app/View/Layouts/rss/default.ctp
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
if (!isset($channel)):
|
||||
$channel = array();
|
||||
endif;
|
||||
if (!isset($channel['title'])):
|
||||
$channel['title'] = $title_for_layout;
|
||||
endif;
|
||||
|
||||
echo $this->Rss->document(
|
||||
$this->Rss->channel(
|
||||
array(), $channel, $this->fetch('content')
|
||||
)
|
||||
);
|
||||
?>
|
||||
Reference in New Issue
Block a user