diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2002-05-12 16:08:31 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2002-05-12 16:08:31 +0000 |
commit | 12e6c6d95f7dcb5439188c622f588705b004a5fc (patch) | |
tree | 3b2d2d5a4938356b40fb26def35dd997aa7bea99 | |
parent | cd114462633a8a4080f2daee709d4e861b14c831 (diff) | |
download | php-git-12e6c6d95f7dcb5439188c622f588705b004a5fc.tar.gz |
MFH
-rw-r--r-- | ext/standard/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c index 64a2614510..8bbb87edc5 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -1490,7 +1490,7 @@ PHP_FUNCTION(rmdir) convert_to_string_ex(arg1); - if (PG(safe_mode) &&(!php_checkuid(Z_STRVAL_PP(arg1), NULL, CHECKUID_ALLOW_FILE_NOT_EXISTS))) { + if (PG(safe_mode) &&(!php_checkuid(Z_STRVAL_PP(arg1), NULL, CHECKUID_CHECK_FILE_AND_DIR))) { RETURN_FALSE; } |