zoneminder/web/api/app/View/Layouts/rss/default.ctp

14 lines
241 B
PHP

<?php
if (!isset($channel)):
$channel = array();
endif;
if (!isset($channel['title'])):
$channel['title'] = $this->fetch('title');
endif;
echo $this->Rss->document(
$this->Rss->channel(
array(), $channel, $this->fetch('content')
)
);