From 7f54318897be8f9500bea0037185d562a4c0826d Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Tue, 11 Apr 2000 17:00:21 +0000 Subject: [PATCH] - Turn off VIRTUAL_DIR by default --- main/fopen_wrappers.c | 2 +- main/php.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c index 64d59be820..8be243993c 100644 --- a/main/fopen_wrappers.c +++ b/main/fopen_wrappers.c @@ -981,7 +981,7 @@ PHPAPI char *php_strip_url_passwd(char *url) } -#if 1 +#ifdef VIRTUAL_DIR PHPAPI char *expand_filepath(char *filepath) { diff --git a/main/php.h b/main/php.h index c1ab278232..ab47f02162 100644 --- a/main/php.h +++ b/main/php.h @@ -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 */ -- 2.40.0