Elgg\Cache\SimpleCache::init PHP 메소드

init() 공개 메소드

Set up config appropriately on engine boot.
public init ( ) : void
리턴 void
    function init()
    {
        $lastcache = $this->config->get('lastcache');
        if (!defined('UPGRADING') && empty($lastcache)) {
            $this->config->set('lastcache', (int) $this->config->get('simplecache_lastupdate'));
        }
    }