Changeset 299 for trunk/export/export_output.php
- Timestamp:
- Dec 28, 2009, 5:29:36 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/export/export_output.php
r297 r299 6 6 include_once('export.php'); 7 7 include_once('create_addon.php'); 8 9 //ini_set('memory_limit', '100M'); 8 10 9 11 function CreateZipFromDir(&$Zip, $Path, $ZipPath) … … 113 115 $SaveFilename = $Addon->TempDir.'CzWoW_Addon-'.$Addon->ClientVersion['Version'].'.zip'; 114 116 $Zip = new zipfile(); 115 CreateZipFromDir($Zip, $Addon->TempDir , 'CzWoW/');117 CreateZipFromDir($Zip, $Addon->TempDir.'CzWoW/', 'CzWoW/'); 116 118 $Zip->addFile(file_get_contents('files/'.$Addon->ClientVersion['Version'].'/CzWoW/OptionsFrame.xml'), 'CzWoW/OptionsFrame.xml'); 117 119 $Zip->addFile(file_get_contents('files/'.$Addon->ClientVersion['Version'].'/CzWoW/CzWoW.xml'), 'CzWoW/CzWoW.xml');
Note:
See TracChangeset
for help on using the changeset viewer.