function __construct($options = array())
 {
     parent::__construct($options);
     $config =& JFactory::getConfig();
     $this->_root = JPATH_ADMINISTRATOR . DS . 'cache';
     $this->_hash = $config->getValue('config.secret');
     $this->_application = '';
     $jlang =& JFactory::getLanguage();
     $this->_language = $jlang->getDefault();
 }
Esempio n. 2
0
 /**
  * Constructor
  *
  * @param	array	$options optional parameters
  * @since	1.5
  */
 public function __construct($options = array())
 {
     parent::__construct($options);
     $this->_root = $options['cachebase'];
 }