From 46ce362ff33c6aea705124cc5e909a0eb657fe97 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Sat, 26 Aug 2006 12:23:43 +0000 Subject: - 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(-) (limited to 'ext/zip/php_zip.c') diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c index f33998a963..1151b431e6 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -905,7 +905,7 @@ ZIPARCHIVE_METHOD(open) RETURN_FALSE; } - if (!VCWD_REALPATH(filename, resolved_path)) { + if (!expand_filepath(filename, resolved_path TSRMLS_CC)) { RETURN_FALSE; } -- cgit v1.2.1