diff options
author | Pierre Joye <pajoye@php.net> | 2006-08-26 12:23:43 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2006-08-26 12:23:43 +0000 |
commit | 46ce362ff33c6aea705124cc5e909a0eb657fe97 (patch) | |
tree | 7ad6e1e4e383d4bba14468d72749d640866570f9 /ext/zip/php_zip.c | |
parent | 100742f7a2c5f6ff076c868d3fdb95feb6e9063a (diff) | |
download | php-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.c | 2 |
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; } |