function __construct($lifetime) { $this->MijosefConfig = Mijosef::getConfig(); $JoomlaConfig =& JFactory::getConfig(); $options = array('defaultgroup' => 'com_mijosef', 'cachebase' => JPATH_SITE . '/cache', 'lifetime' => $lifetime, 'language' => 'en-GB', 'storage' => $JoomlaConfig->get('cache_handler', 'file'), 'caching' => true); parent::__construct($options); }