projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'release-2.140.115'
[feisty_meow.git]
/
production
/
example_apps
/
zippy_maps
/
src
/
Template
/
Layout
/
rss
/
default.ctp
diff --git a/production/example_apps/zippy_maps/src/Template/Layout/rss/default.ctp
b/production/example_apps/zippy_maps/src/Template/Layout/rss/default.ctp
new file mode 100644
(file)
index 0000000..
5c15a19
--- /dev/null
+++ b/
production/example_apps/zippy_maps/src/Template/Layout/rss/default.ctp
@@ -0,0
+1,14
@@
+<?php
+if (!isset($channel)):
+ $channel = [];
+endif;
+if (!isset($channel['title'])):
+ $channel['title'] = $this->fetch('title');
+endif;
+
+echo $this->Rss->document(
+ $this->Rss->channel(
+ [], $channel, $this->fetch('content')
+ )
+);
+?>