From: Ilia Alshanetsky Date: Wed, 14 Nov 2007 23:45:29 +0000 (+0000) Subject: Don't show file names being examined X-Git-Tag: RELEASE_1_3_1~636 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=07a3423f179be42eba1649ff49c7ac6b23dd9e9b;p=php Don't show file names being examined --- diff --git a/ext/standard/dir.c b/ext/standard/dir.c index ad122e4f80..1ab92e6383 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)) {