Prevent extracting folder if it matches $p_remove_path #2

merged 1 commit into from Nov 12, 2012

2 participants


Consider an archive with the following contents:

- folder_name
- folder_name/file_name.txt

Currently, $archive->ExtractModify( 'extract_folder', 'folder_name' ) will result in the following

- extract_folder/folder_name
- extract_folder/file_name.txt

instead of

- extract_folder/file_name.txt
@mrook mrook merged commit 9419838 into pear:master Nov 12, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment