mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-07-31 18:40:17 +02:00
Ignore pattern might be absolute now.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user