/** * Cache built configuration parameters. */ protected function saveCache() { // Store the version number along with the config. $this->data['version'] = $this->app->getVersion(); if ($this->get('general/caching/config')) { Lib::saveSerialize($this->app['resources']->getPath('cache') . '/config_cache.php', $this->data); return; } @unlink($this->app['resources']->getPath('cache') . '/config_cache.php'); }