diff options
| -rw-r--r-- | main/safe_mode.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/main/safe_mode.c b/main/safe_mode.c index 6f42c62f19..9dd394b513 100644 --- a/main/safe_mode.c +++ b/main/safe_mode.c @@ -35,12 +35,14 @@ /* * php_checkuid * - * This function has four modes: + * This function has six modes: * * 0 - return invalid (0) if file does not exist * 1 - return valid (1) if file does not exist * 2 - if file does not exist, check directory * 3 - only check directory (needed for mkdir) + * 4 - check mode and param + * 5 - only check file */ PHPAPI int php_checkuid(const char *filename, char *fopen_mode, int mode) |
