mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- This version of chdir_file should be compatible with the Apache one.
This commit is contained in:
parent
ce283e2326
commit
d8e64d623e
4 changed files with 22 additions and 1 deletions
|
@ -291,11 +291,13 @@ 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_CHDIR_FILE(path) virtual_chdir_file(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_CHDIR_FILE(path) chdir_file(path)
|
||||
#define PHP_GETWD(buf) getwd(buf)
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue