Zip class: don't store rootfolder in archive but DO store subfolders

#2
[eluser]wessley[/eluser]
I'm having the same problem.

Using:

Code:
$this->zip->read_dir('/path/to/my/directory/');

Makes a zip file with the following directory structure:

Code:
-path
  -to
    -my
      -directory
        ... stuff in the directory ...

Which is pretty annoying.

Anyone?


Messages In This Thread
Zip class: don't store rootfolder in archive but DO store subfolders - by El Forum - 09-16-2008, 09:20 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.