protected function setUpCache() { if (!isset(self::$cache)) { if (!empty($this->config->get('api.disable_cache'))) { self::$cache = new VoidCache(); } else { self::$cache = new FilesystemCache($this->config->getUserConfigDir() . '/cache', FilesystemCache::EXTENSION, 077); } } }
/** * @return string */ protected function getSessionsDir() { return self::$config->getUserConfigDir() . '/.session'; }