/**
* Set up config appropriately on engine boot.
*
* @return void
*/
function init()
{
$lastcache = $this->config->get('lastcache');
if (!defined('UPGRADING') && empty($lastcache)) {
$this->config->set('lastcache', (int) $this->datalist->get('simplecache_lastupdate'));
}
}