I'm looking to combine the contents of two directories on my server into one new zip file.
Example: Combine the contents of /games/wheel/* and /games/SDK/com/* into the root of a new zip file.
Existing Directory Structure:
- games
- SDK
- com
- folder1
- file1
- file1
- wheel
- game_file1
- game_file2
New Directory Structure (After you unzip the new file):
- folder1
- file1
- file2
- game_file1
- game_file2
Using codeigniter's current Zip library, how do I combine the existing file structure into a new one and zip it? Has anyone extended it to do this?