This commit is contained in:
2023-04-16 16:52:16 +08:00
parent 4b4bd185f5
commit f8a4270b84
+1 -1
View File
@@ -76,7 +76,7 @@ class Scanner extends Component
if ($value->isDir()) {
$this->load_dir($value->getRealPath());
} else if ($value->getExtension() == 'php') {
$this->load_file($value);
$this->load_file($value->getRealPath());
}
}
}