Browse Source

- Turn off VIRTUAL_DIR by default

PHP-4.0.5
Andi Gutmans 27 years ago
parent
commit
7f54318897
  1. 2
      main/fopen_wrappers.c
  2. 2
      main/php.h

2
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)
{

2
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 */

Loading…
Cancel
Save