]> granicus.if.org Git - php/commitdiff
MFH
authorStefan Esser <sesser@php.net>
Thu, 2 Dec 2004 00:44:22 +0000 (00:44 +0000)
committerStefan Esser <sesser@php.net>
Thu, 2 Dec 2004 00:44:22 +0000 (00:44 +0000)
TSRM/tsrm_virtual_cwd.c

index 3f8192340f01163cc4962529051f11d8c32aa566..0b3833caab2b3ab2b86d418e81c3d034e590bdf6 100644 (file)
@@ -321,7 +321,8 @@ CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func
                                path = resolved_path;
                                path_length = strlen(path);
                        } else {
-                               return 1;
+                               /* disable for now
+                               return 1; */
                        }
                }
        } else { /* Concat current directory with relative path and then run realpath() on it */
@@ -347,8 +348,9 @@ CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func
                                path = resolved_path;
                                path_length = strlen(path);
                        } else {
+                               /* disable for now 
                                free(tmp);
-                               return 1;
+                               return 1; */
                        }
                }
                free(tmp);