Conjunto de cambios d7a822e en sipes para cord/modules/update/update.fetch.inc


Ignorar:
Fecha y hora:
23/05/2016 15:48:25 (hace 8 años)
Autor:
José Gregorio Puentes <jpuentes@…>
Branches:
stable, version-3.0
Children:
6f9ddf1
Parents:
b354002
Mensaje:

se agrego el directorio del cord

Fichero:
1 editado

Leyenda

No modificado
Añadido
Eliminado
  • cord/modules/update/update.fetch.inc

    rb354002 rd7a822e  
    222222        $this->current_object = &$this->current_term;
    223223        break;
     224      case 'FILE':
     225        unset($this->current_object);
     226        $this->current_file = array();
     227        $this->current_object = &$this->current_file;
     228        break;
    224229    }
    225230  }
     
    253258        $this->current_object = &$this->current_release;
    254259        break;
     260      case 'FILE':
     261        unset($this->current_object);
     262        $this->current_release['files'][] = $this->current_file;
     263        break;
     264      case 'FILES':
     265        $this->current_object = &$this->current_release;
     266        break;
    255267      default:
    256268        $this->current_object[strtolower($this->current_tag)] = trim($this->current_object[strtolower($this->current_tag)]);
     
    260272
    261273  function data($parser, $data) {
    262     if ($this->current_tag && !in_array($this->current_tag, array('PROJECT', 'RELEASE', 'RELEASES', 'TERM', 'TERMS'))) {
     274    if ($this->current_tag && !in_array($this->current_tag, array('PROJECT', 'RELEASE', 'RELEASES', 'TERM', 'TERMS', 'FILE', 'FILES'))) {
    263275      $tag = strtolower($this->current_tag);
    264276      if (isset($this->current_object[$tag])) {
Nota: Vea TracChangeset para ayuda en el uso del visor de conjuntos de cambios.