mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- Hopefully got most of them. We also need a chdir_file function like
for Apache.
This commit is contained in:
parent
9df7df3293
commit
9c3d6304dd
13 changed files with 30 additions and 28 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue