modify plugin name

This commit is contained in:
2022-02-18 15:17:31 +08:00
parent 2e073ddbb2
commit 7a331e36ad
-3
View File
@@ -252,14 +252,11 @@ class Application extends BaseApplication
/** /**
* @return void * @return void
* @throws ContainerExceptionInterface
* @throws Exception * @throws Exception
* @throws NotFoundExceptionInterface
* @throws ReflectionException * @throws ReflectionException
*/ */
protected function fileListener(): void protected function fileListener(): void
{ {
$this->getEventDispatch()->dispatch(new CreateConnectionPool());
$config = Config::get('scanner', []); $config = Config::get('scanner', []);
if (is_array($config)) foreach ($config as $key => $value) { if (is_array($config)) foreach ($config as $key => $value) {
scan_directory($value, $key); scan_directory($value, $key);