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

ext/zip/php_zip.c

index 964570641c3a7a10a03ac34624ff50c15d2f8577..975b250e01a85b7d95e446878a90539134a5c75f 100644 (file)
@@ -882,7 +882,7 @@ ZIPARCHIVE_METHOD(open)
                RETURN_FALSE;
        }
 
-       if (!VCWD_REALPATH(filename, resolved_path)) {
+       if(!expand_filepath(filename, resolved_path TSRMLS_CC)) {
                RETURN_FALSE;
        }