From dbdbfe37f27f0f0de2cb2ec78128ab4019d3a4f3 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Wed, 14 Nov 2007 23:45:39 +0000 Subject: [PATCH] MFB: Don't show file names being examined --- ext/standard/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/dir.c b/ext/standard/dir.c index 2e51a406a4..1ff9d7e1d2 100644 --- a/ext/standard/dir.c +++ b/ext/standard/dir.c @@ -467,7 +467,7 @@ no_results: array_init(return_value); for (n = 0; n < globbuf.gl_pathc; n++) { if (PG(safe_mode) || (PG(open_basedir) && *PG(open_basedir))) { - if (PG(safe_mode) && (!php_checkuid(globbuf.gl_pathv[n], NULL, CHECKUID_CHECK_FILE_AND_DIR))) { + if (PG(safe_mode) && (!php_checkuid_ex(globbuf.gl_pathv[n], NULL, CHECKUID_CHECK_FILE_AND_DIR, CHECKUID_NO_ERRORS))) { basedir_limit = 1; continue; } else if (php_check_open_basedir_ex(globbuf.gl_pathv[n], 0 TSRMLS_CC)) { -- 2.40.0