From: Rasmus Lerdorf Date: Sun, 12 May 2002 16:08:31 +0000 (+0000) Subject: MFH X-Git-Tag: php-4.2.1~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=12e6c6d95f7dcb5439188c622f588705b004a5fc;p=php MFH --- 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; }