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

index a0b622c03ec9a4f88da7e3e8aa599403540becac..2013533a2f186f501eb975e135dcc16a52cba7e3 100644 (file)
@@ -314,7 +314,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 */
@@ -340,8 +341,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);