Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (8 sloc) 263 Bytes
//use SilverStripe\Control\HTTP;
use SilverStripe\ORM\DataObject;
define('SITEMAP_BASE', dirname(dirname(__FILE__)));
// set cache lifetime to 3 hours
//HTTP::set_cache_age( 10800);
// Extensions
DataObject::add_extension('Page', 'SitemapPageExtension');
You can’t perform that action at this time.