diff options
author | Pierre Joye <pajoye@php.net> | 2006-09-12 12:02:49 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2006-09-12 12:02:49 +0000 |
commit | bb2d53e768edf7f68adfce4615ff2871e9aa0e80 (patch) | |
tree | cba771db1532d4fd11f19a34b8c87c402b8f4ae5 /ext/zip/php_zip.c | |
parent | 7800711d3486b34defd1f5176e8add269ae526cd (diff) | |
download | php-git-bb2d53e768edf7f68adfce4615ff2871e9aa0e80.tar.gz |
- PECL Bug #8676, addFile was not updated and still used VCWD_REALPATH,
it now uses expand_filepath
Diffstat (limited to 'ext/zip/php_zip.c')
-rw-r--r-- | ext/zip/php_zip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c index 1b0c3c18cb..e684de1417 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -996,7 +996,7 @@ ZIPARCHIVE_METHOD(addFile) RETURN_FALSE; } - if (!VCWD_REALPATH(filename, resolved_path)) { + if (!expand_filepath(filename, resolved_path TSRMLS_CC)) { RETURN_FALSE; } |