title: Codeigniter - Zip multiple directries into one file with new directory structure
body: <p>I'm looking to combine the contents of two directories on my server into one new zip file.</p>
  
  <p><strong>Example:</strong>
  Combine the contents of /games/wheel/* and /games/SDK/com/* into the root of a new zip file.</p>
  
  <p><strong>Existing Directory Structure:</strong></p>
  
  <pre><code>- games
      - SDK
        - com
          - folder1
             - file1
             - file1
      - wheel
        - game_file1
        - game_file2
  </code></pre>
  
  <p><strong>New Directory Structure (After you unzip the new file):</strong></p>
  
  <pre><code>- folder1
     - file1
     - file2
  - game_file1
  - game_file2
  </code></pre>
  
  <p>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?</p>