/** * * Checks to make sure the EAccelerator extension is available. * * @return void * */ protected function _preConfig() { parent::_preConfig(); if (!(extension_loaded('eaccelerator') && ini_get('eaccelerator.enable'))) { throw $this->_exception('ERR_EXTENSION_NOT_LOADED', array('extension' => 'eaccelerator')); } }
/** * * Checks to make sure the memcache extension is available. * * @return void * */ protected function _preConfig() { parent::_preConfig(); if (!extension_loaded('memcache')) { throw $this->_exception('ERR_EXTENSION_NOT_LOADED', array('extension' => 'memcache')); } }
/** * * Sets the default cache directory location. * * @return void * */ protected function _preConfig() { parent::_preConfig(); $tmp = Solar_Dir::tmp('/Solar_Cache_File/'); $this->_Solar_Cache_Adapter_File['path'] = $tmp; }