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