Ignore pattern might be absolute now.

This commit is contained in:
Lars Jung 2012-08-12 16:37:28 +02:00
parent 9a447a83bd
commit 67e5779402

View File

@ -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;
}
}