diff options
-rw-r--r-- | main/fopen_wrappers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c index a3473be227..47f85ff1b7 100644 --- a/main/fopen_wrappers.c +++ b/main/fopen_wrappers.c @@ -989,7 +989,7 @@ PHPAPI char *expand_filepath(char *filepath) char cwd[MAXPATHLEN+1]; char *result; - result = getcwd(cwd, MAXPATHLEN); + result = V_GETCWD(cwd, MAXPATHLEN); if (!result) { cwd[0] = '\0'; } |