comparison Sitemap.inc @ 114:f498ea087d67

Revert wrong xml closing tag.
author Tom Fredrik "BFG" Klaussen <bfg@blenning.no>
date Wed, 16 Mar 2016 13:02:06 +0100
parents d547cae319f0
children e3f97bbf12f3
comparison
equal deleted inserted replaced
113:d547cae319f0 114:f498ea087d67
167 $out .= "<lastmod>${lastmod}</lastmod>\n"; 167 $out .= "<lastmod>${lastmod}</lastmod>\n";
168 $out .= "</url>\n"; 168 $out .= "</url>\n";
169 } 169 }
170 } 170 }
171 171
172 $out .= "</urlset>\n"; 172 $out .= "</urlset>";
173 $out .= "</xml>";
174 173
175 $res = new PageContent($out); 174 $res = new PageContent($out);
176 $cache=new SimpleCache($this->lastmod); 175 $cache=new SimpleCache($this->lastmod);
177 $cache->setMaxAge(86400); 176 $cache->setMaxAge(86400);
178 $this->setCache($cache); 177 $this->setCache($cache);