diff options
author | foobar <sniper@php.net> | 2002-07-13 04:45:21 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2002-07-13 04:45:21 +0000 |
commit | e3797ab76a2d3e74d02900cff97db6957294c0e1 (patch) | |
tree | e35bef31529b958a97c2bc4759df1a06166af322 /ext | |
parent | 6a42e635ca2bebb9c147c6bbb0e867a2e5a6113f (diff) | |
download | php-git-e3797ab76a2d3e74d02900cff97db6957294c0e1.tar.gz |
Fixed bug: #16638.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/standard/file.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c index 7fd6181e87..47b4cac885 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -1496,7 +1496,6 @@ PHPAPI PHP_FUNCTION(fseek) /* }}} */ /* {{{ proto bool mkdir(string pathname[, int mode]) Create a directory */ - PHP_FUNCTION(mkdir) { int dir_len, ret; @@ -1507,7 +1506,7 @@ PHP_FUNCTION(mkdir) return; } - if (PG(safe_mode) &&(!php_checkuid(dir, NULL, CHECKUID_ALLOW_ONLY_DIR))) { + if (PG(safe_mode) && (!php_checkuid(dir, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { RETURN_FALSE; } |