summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.c
diff options
context:
space:
mode:
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 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;
}