commit | aa9a4f7e59143a3a187e415e646c966aaf786380 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Tue Jan 28 12:05:51 2014 +0200 |
committer | Andrey Andreev <narf@devilix.net> | Tue Jan 28 12:05:51 2014 +0200 |
tree | 277e3dd68b2915fa51716cbad94b1d3538f98881 | |
parent | 505431ab4873e071ceabffdc1a8ce363c0c8dcbc [diff] [blame] |
Fix #2844
diff --git a/system/libraries/Zip.php b/system/libraries/Zip.php index b10b0bb..58f0645 100644 --- a/system/libraries/Zip.php +++ b/system/libraries/Zip.php
@@ -294,7 +294,7 @@ { $name = str_replace('\\', '/', $path); - if ($preserve_filepath === FALSE) + if ($archive_filepath === FALSE) { $name = preg_replace('|.*/(.+)|', '\\1', $name); }