modify plugin name
This commit is contained in:
@@ -229,15 +229,15 @@ class Application extends BaseApplication
|
|||||||
private function enableFileChange(Command $class, $input, $output): void
|
private function enableFileChange(Command $class, $input, $output): void
|
||||||
{
|
{
|
||||||
fire(new OnBeforeCommandExecute());
|
fire(new OnBeforeCommandExecute());
|
||||||
if (!($class instanceof HotReload)) {
|
// if (!($class instanceof HotReload)) {
|
||||||
$config = Config::get('scanner', []);
|
// $config = Config::get('scanner', []);
|
||||||
if (!empty($config)) {
|
// if (!empty($config)) {
|
||||||
foreach ($config as $key => $value) {
|
// foreach ($config as $key => $value) {
|
||||||
scan_directory($value, $key);
|
// scan_directory($value, $key);
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
scan_directory(MODEL_PATH, 'app\Model');
|
// scan_directory(MODEL_PATH, 'app\Model');
|
||||||
}
|
// }
|
||||||
|
|
||||||
$this->getContainer()->setBindings(OutputInterface::class, $output);
|
$this->getContainer()->setBindings(OutputInterface::class, $output);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user