mirror of
https://github.com/php/php-src.git
synced 2026-04-25 00:48:25 +02:00
- Fix
This commit is contained in:
@@ -345,11 +345,8 @@ CWD_API FILE *virtual_fopen(char *path, const char *mode)
|
||||
|
||||
CWD_STATE_COPY(&new_state, &CWDG(cwd));
|
||||
|
||||
retval = virtual_file_ex(&new_state, path, php_is_file_ok);
|
||||
virtual_file_ex(&new_state, path, NULL);
|
||||
|
||||
if (retval) {
|
||||
return NULL;
|
||||
}
|
||||
f = fopen(new_state.cwd, mode);
|
||||
CWD_STATE_FREE(&new_state);
|
||||
return f;
|
||||
|
||||
@@ -173,6 +173,10 @@ SOURCE=.\php_variables.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\php_virtual_cwd.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\ext\standard\quot_print.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
@@ -277,6 +281,10 @@ SOURCE=.\php_variables.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\php_virtual_cwd.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\ext\standard\quot_print.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
Reference in New Issue
Block a user