eee
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ class Scanner extends Component
|
||||
public function load_directory(string $path): void
|
||||
{
|
||||
$dir = new \DirectoryIterator($path);
|
||||
$skip = \config('scanner.skip', []);
|
||||
$skip = \config('site.scanner.skip', []);
|
||||
foreach ($dir as $value) {
|
||||
if ($value->isDot() || str_starts_with($value->getFilename(), '.')) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user