Skip to content

Commit 12e6c6d

Browse files
committed
MFH
1 parent cd11446 commit 12e6c6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1490,7 +1490,7 @@ PHP_FUNCTION(rmdir)
14901490

14911491
convert_to_string_ex(arg1);
14921492

1493-
if (PG(safe_mode) &&(!php_checkuid(Z_STRVAL_PP(arg1), NULL, CHECKUID_ALLOW_FILE_NOT_EXISTS))) {
1493+
if (PG(safe_mode) &&(!php_checkuid(Z_STRVAL_PP(arg1), NULL, CHECKUID_CHECK_FILE_AND_DIR))) {
14941494
RETURN_FALSE;
14951495
}
14961496

0 commit comments

Comments
 (0)