]> granicus.if.org Git - php/commitdiff
Don't show file names being examined
authorIlia Alshanetsky <iliaa@php.net>
Wed, 14 Nov 2007 23:45:29 +0000 (23:45 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 14 Nov 2007 23:45:29 +0000 (23:45 +0000)
ext/standard/dir.c

index ad122e4f8013be9bfa2c5359534f56a8bbb3e869..1ab92e638360f07c56c9a33e5cb7eab337484835 100644 (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)) {