Don't show file names being examined

This commit is contained in:
Ilia Alshanetsky 2007-11-14 23:45:29 +00:00
parent 35272a63cd
commit 07a3423f17

View file

@ -467,7 +467,7 @@ no_results:
array_init(return_value); array_init(return_value);
for (n = 0; n < globbuf.gl_pathc; n++) { for (n = 0; n < globbuf.gl_pathc; n++) {
if (PG(safe_mode) || (PG(open_basedir) && *PG(open_basedir))) { 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; basedir_limit = 1;
continue; continue;
} else if (php_check_open_basedir_ex(globbuf.gl_pathv[n], 0 TSRMLS_CC)) { } else if (php_check_open_basedir_ex(globbuf.gl_pathv[n], 0 TSRMLS_CC)) {