Index: trunk/phase3/maintenance/backupPrefetch.inc |
— | — | @@ -45,9 +45,12 @@ |
46 | 46 | var $atPageEnd = false; |
47 | 47 | var $lastPage = 0; |
48 | 48 | var $lastRev = 0; |
| 49 | + var $infiles = null; |
49 | 50 | |
50 | 51 | function BaseDump( $infile ) { |
| 52 | + $this->infiles = explode(';',$infile); |
51 | 53 | $this->reader = new XMLReader(); |
| 54 | + $infile = array_shift($this->infiles); |
52 | 55 | $this->reader->open( $infile ); |
53 | 56 | } |
54 | 57 | |
— | — | @@ -101,7 +104,12 @@ |
102 | 105 | $this->atPageEnd = false; |
103 | 106 | } |
104 | 107 | } else { |
105 | | - $this->atEnd = true; |
| 108 | + $this->close(); |
| 109 | + if (count($this->infiles)) { |
| 110 | + $infile = array_shift($this->infiles); |
| 111 | + $this->reader->open( $infile ); |
| 112 | + $this->atEnd = false; |
| 113 | + } |
106 | 114 | } |
107 | 115 | } |
108 | 116 | |