Ignore:
Timestamp:
Dec 28, 2009, 5:29:36 PM (15 years ago)
Author:
george
Message:
  • Opraveno: Generovat addon z podsložky CzWoW.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/export/export_output.php

    r297 r299  
    66include_once('export.php');   
    77include_once('create_addon.php');
     8
     9//ini_set('memory_limit', '100M');
    810
    911function CreateZipFromDir(&$Zip, $Path, $ZipPath)
     
    113115    $SaveFilename = $Addon->TempDir.'CzWoW_Addon-'.$Addon->ClientVersion['Version'].'.zip';         
    114116    $Zip = new zipfile();
    115     CreateZipFromDir($Zip, $Addon->TempDir, 'CzWoW/');
     117    CreateZipFromDir($Zip, $Addon->TempDir.'CzWoW/', 'CzWoW/');
    116118    $Zip->addFile(file_get_contents('files/'.$Addon->ClientVersion['Version'].'/CzWoW/OptionsFrame.xml'), 'CzWoW/OptionsFrame.xml');
    117119    $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.