From: Pierre Joye Date: Tue, 12 Sep 2006 12:02:49 +0000 (+0000) Subject: - PECL Bug #8676, addFile was not updated and still used VCWD_REALPATH, X-Git-Tag: php-5.2.0RC4~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bb2d53e768edf7f68adfce4615ff2871e9aa0e80;p=php - PECL Bug #8676, addFile was not updated and still used VCWD_REALPATH, it now uses expand_filepath --- 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; }