|
|
|
@ -284,8 +284,10 @@ 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 */ |
|
|
|
/* Virtual current directory support */ |
|
|
|
#ifdef VIRTUAL_DIR |
|
|
|
#include "php_virtual_cwd.h" |
|
|
|
#define PHP_GETCWD(buff, size) virtual_getcwd(buff,size) |
|
|
|
#define PHP_FOPEN(path, mode) virtual_fopen(path, mode) |
|
|
|
#define PHP_CHDIR(path) virtual_chdir(path) |
|
|
|
|