]> granicus.if.org Git - php/commitdiff
- don't rely/use VCWD_REALPATH, use expand_filepath instead
authorPierre Joye <pajoye@php.net>
Sat, 26 Aug 2006 12:23:43 +0000 (12:23 +0000)
committerPierre Joye <pajoye@php.net>
Sat, 26 Aug 2006 12:23:43 +0000 (12:23 +0000)
  NB: that'd to be true for all this VCWD mess

ext/zip/php_zip.c

index f33998a963f43cf376d6697b90fa13d40590763c..1151b431e607ca1c4cb9ce24f329fbbc9d9b75a5 100644 (file)
@@ -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;
        }