]> granicus.if.org Git - php/commitdiff
- PECL Bug #8676, addFile was not updated and still used VCWD_REALPATH,
authorPierre Joye <pajoye@php.net>
Tue, 12 Sep 2006 12:02:49 +0000 (12:02 +0000)
committerPierre Joye <pajoye@php.net>
Tue, 12 Sep 2006 12:02:49 +0000 (12:02 +0000)
  it now uses expand_filepath

ext/zip/php_zip.c

index 1b0c3c18cb4243bbbfa8bb287612c8922084fdf0..e684de14178d2b0276ed46f5d661edaee3d2491f 100644 (file)
@@ -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;
        }