]> granicus.if.org Git - php/commitdiff
- Turn off VIRTUAL_DIR by default
authorAndi Gutmans <andi@php.net>
Tue, 11 Apr 2000 17:00:21 +0000 (17:00 +0000)
committerAndi Gutmans <andi@php.net>
Tue, 11 Apr 2000 17:00:21 +0000 (17:00 +0000)
main/fopen_wrappers.c
main/php.h

index 64d59be820933a92bc2dc69bfe5e67a9e79f8f63..8be243993cac60fce1f1a68a2e823852877f7734 100644 (file)
@@ -981,7 +981,7 @@ PHPAPI char *php_strip_url_passwd(char *url)
 }
 
 
-#if 1
+#ifdef VIRTUAL_DIR
 
 PHPAPI char *expand_filepath(char *filepath)
 {
index c1ab2782329dfa2f885deec68c97289eda388ee5..ab47f021625813eda85df6ce92937c702bc9a1b5 100644 (file)
@@ -284,7 +284,7 @@ PHPAPI int cfg_get_string(char *varname, char **result);
 #define PUTS_H(str)                                    php_header_write((str), strlen((str)))
 #define PUTC_H(c)                                      (php_header_write(&(c), 1), (c))
 
-#define VIRTUAL_DIR
+/* #define VIRTUAL_DIR */
 #include "php_virtual_cwd.h"
 
 /* Virtual current directory support */