From bb2d53e768edf7f68adfce4615ff2871e9aa0e80 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Tue, 12 Sep 2006 12:02:49 +0000 Subject: [PATCH] - PECL Bug #8676, addFile was not updated and still used VCWD_REALPATH, it now uses expand_filepath --- ext/zip/php_zip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.40.0