summaryrefslogtreecommitdiff
path: root/main/safe_mode.c
diff options
context:
space:
mode:
authorYasuo Ohgaki <yohgaki@php.net>2002-07-17 05:15:17 +0000
committerYasuo Ohgaki <yohgaki@php.net>2002-07-17 05:15:17 +0000
commitf4f8726b9e908400ac8413e08b8dceba62587a7f (patch)
tree1d7f1e3fc8e198056591153911de38c42edfeb7a /main/safe_mode.c
parenta6384b368561386ab4a04eab5573fdcdb7b92c4c (diff)
downloadphp-git-f4f8726b9e908400ac8413e08b8dceba62587a7f.tar.gz
Accoding to safe_mode.h, php_checkuid() has six modes.
Diffstat (limited to 'main/safe_mode.c')
-rw-r--r--main/safe_mode.c4
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)