From 67e5779402854fb07bd86c4f55f380b143c8cb5d Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Sun, 12 Aug 2012 16:37:28 +0200 Subject: [PATCH] Ignore pattern might be absolute now. --- src/_h5ai/php/inc/H5ai.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_h5ai/php/inc/H5ai.php b/src/_h5ai/php/inc/H5ai.php index 470c779b..64cd827e 100644 --- a/src/_h5ai/php/inc/H5ai.php +++ b/src/_h5ai/php/inc/H5ai.php @@ -160,7 +160,7 @@ class H5ai { if (is_dir($path)) { if ($dir = opendir($path)) { while (($file = readdir($dir)) !== false) { - if (!$this->is_ignored($file)) { + if (!$this->is_ignored($file) && !$this->is_ignored($this->getAbsHref($path) . $file)) { $content[] = $file; } }