mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-03-19 12:00:01 +01:00
Ignore pattern might be absolute now.
This commit is contained in:
parent
9a447a83bd
commit
67e5779402
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user