From f4e4d1813bca31da6aa41a05c1a1e6a8c46c3159 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Sat, 26 Aug 2006 12:29:59 +0000 Subject: [PATCH] - MFB: don't rely/use VCWD_REALPATH, use expand_filepath instead NB: that'd to be true for all this VCWD mess --- 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 964570641c..975b250e01 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -882,7 +882,7 @@ ZIPARCHIVE_METHOD(open) RETURN_FALSE; } - if (!VCWD_REALPATH(filename, resolved_path)) { + if(!expand_filepath(filename, resolved_path TSRMLS_CC)) { RETURN_FALSE; } -- 2.50.1