Welcome Guest, Not a member yet? Register   Sign In
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



Theme © iAndrew 2016 - Forum software by © MyBB