Changeset 369 for trunk/export/process_task.php
- Timestamp:
- Mar 9, 2010, 3:22:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/export/process_task.php
r366 r369 8 8 include_once('export_output.php'); 9 9 10 LoadCommandLineParameters();10 //LoadCommandLineParameters(); 11 11 12 12 while(1) … … 27 27 echo('Generování DBC souborů pro export '.$Export->Id.'.. '."\n"); 28 28 $Export->ExportToDBC(); 29 $SaveFilename = $Export->TempDir.'/CzWoW_DBC.zip';29 /* $SaveFilename = $Export->TempDir.'/CzWoW_DBC.zip'; 30 30 $Zip = new zipfile(); 31 31 CreateZipFromDir($Zip, $Export->TempDir.'dbc/', 'DBFilesClient/'); 32 32 $Buffer = $Zip->file(); 33 file_put_contents($SaveFilename, $Buffer); 33 file_put_contents($SaveFilename, $Buffer); */ 34 echo ('Archivuji..'); 35 exec('zip -r '.$Export->TempDir.'/CzWoW_DBC.zip '.$Export->TempDir.'dbc/'); 34 36 echo('Hotovo'); 35 37 } else echo('Funkce pro tvorbu Zip souboru není podporována!');
Note:
See TracChangeset
for help on using the changeset viewer.