- Hopefully got most of them. We also need a chdir_file function like

for Apache.
This commit is contained in:
Andi Gutmans 2000-03-30 22:56:34 +00:00
parent 9df7df3293
commit 9c3d6304dd
13 changed files with 30 additions and 28 deletions

View file

@ -289,10 +289,12 @@ PHPAPI int cfg_get_string(char *varname, char **result);
#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)
#define PHP_GETWD(buf)
#else
#define PHP_GETCWD(buff, size) getcwd(buff,size)
#define PHP_FOPEN(path, mode) fopen(path, mode)
#define PHP_CHDIR(path) chdir(path)
#define PHP_GETWD(buf) getwd(buf)
#endif
#include "zend_constants.h"