1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 18:23:26 +02:00

MFB: Don't show file names being examined

This commit is contained in:
Ilia Alshanetsky
2007-11-14 23:45:39 +00:00
parent b9580cd54e
commit dbdbfe37f2
+1 -1
View File
@@ -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)) {