summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.c
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2006-08-26 12:23:43 +0000
committerPierre Joye <pajoye@php.net>2006-08-26 12:23:43 +0000
commit46ce362ff33c6aea705124cc5e909a0eb657fe97 (patch)
tree7ad6e1e4e383d4bba14468d72749d640866570f9 /ext/zip/php_zip.c
parent100742f7a2c5f6ff076c868d3fdb95feb6e9063a (diff)
downloadphp-git-46ce362ff33c6aea705124cc5e909a0eb657fe97.tar.gz
- don't rely/use VCWD_REALPATH, use expand_filepath instead
NB: that'd to be true for all this VCWD mess
Diffstat (limited to 'ext/zip/php_zip.c')
-rw-r--r--ext/zip/php_zip.c2
1 files changed, 1 insertions, 1 deletions
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;
}