function rex_file_cache($options = array())
 {
     global $REX;
     parent::rex_cache($options);
     if (!$this->getOption('cache_dir')) {
         $this->setOption('cache_dir', $REX['INCLUDE_PATH'] . '/generated/cache');
     }
     $this->setcache_dir($this->getOption('cache_dir'));
 }
 function rex_file_cache($options = array())
 {
     global $REX;
     parent::rex_cache($options);
     if (!$this->getOption('cache_dir')) {
         $this->setOption('cache_dir', $REX['GENERATED_PATH'] . '/cache');
     }
     $this->setcache_dir($this->getOption('cache_dir'));
 }