mirror of
https://github.com/silverstripe/silverstripe-versionfeed
synced 2024-10-22 11:05:31 +02:00
8 lines
207 B
PHP
8 lines
207 B
PHP
<?php
|
|
|
|
SiteTree::add_extension('VersionFeed');
|
|
ContentController::add_extension('VersionFeed_Controller');
|
|
|
|
// Set the cache lifetime to 5 mins.
|
|
SS_Cache::set_cache_lifetime('VersionFeed_Controller', 5*60);
|