Changeset 672 for trunk/Modules/Export/Export.php
- Timestamp:
- Dec 24, 2013, 11:19:56 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Export/Export.php
r664 r672 255 255 } 256 256 257 function AddProgress($add = 2) { 258 $File = new FileStream(); 259 $File->OpenFile($this->TempDir.'progress'); 260 $Line = $File->ReadLine(); 261 $File = new FileStream(); 262 $File->CreateFile($this->TempDir.'progress'); 263 $Line+=$add; 264 $File->WriteLine($Line); 265 } 266 257 267 function ExportToDBC() 258 268 { … … 267 277 while($Group = $DbResult->fetch_assoc()) 268 278 { 279 $this->AddProgress(); 269 280 $Output .= $Group['Name'].', '; 270 281 if(file_exists($this->SourceDir.$this->ClientVersion['Version'].'/dbc/'.$Group['DBCFileName'].'.dbc')) … … 375 386 while($Group = $DbResult->fetch_assoc()) 376 387 { 388 $this->AddProgress(); 377 389 $Output .= $Group['Name'].'... '; 378 390 $File = new FileStream();
Note:
See TracChangeset
for help on using the changeset viewer.