From 12e6c6d95f7dcb5439188c622f588705b004a5fc Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Sun, 12 May 2002 16:08:31 +0000 Subject: [PATCH] MFH --- ext/standard/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.50.1