]> granicus.if.org Git - php/commitdiff
- do not resolve the link if all we want is to open that file
authorPierre Joye <pajoye@php.net>
Wed, 27 Jul 2011 11:57:44 +0000 (11:57 +0000)
committerPierre Joye <pajoye@php.net>
Wed, 27 Jul 2011 11:57:44 +0000 (11:57 +0000)
TSRM/tsrm_virtual_cwd.c

index 0889ea664adbafd2c84436035ae2da6e822b677e..5330c314776d61789371a52e810649ad8b788dea 100644 (file)
@@ -1453,7 +1453,7 @@ CWD_API FILE *virtual_fopen(const char *path, const char *mode TSRMLS_DC) /* {{{
        }
 
        CWD_STATE_COPY(&new_state, &CWDG(cwd));
-       if (virtual_file_ex(&new_state, path, NULL, CWD_FILEPATH TSRMLS_CC)) {
+       if (virtual_file_ex(&new_state, path, NULL, CWD_EXPAND TSRMLS_CC)) {
                CWD_STATE_FREE(&new_state);
                return NULL;
        }