Revert "改名"
This reverts commit fdf58326
This commit is contained in:
@@ -230,7 +230,12 @@ class Application extends BaseApplication
|
|||||||
{
|
{
|
||||||
fire(new OnBeforeCommandExecute());
|
fire(new OnBeforeCommandExecute());
|
||||||
if (!($class instanceof HotReload)) {
|
if (!($class instanceof HotReload)) {
|
||||||
scan_directory(COMPONENT_PATH, 'app\Components');
|
$config = Config::get('scanner', []);
|
||||||
|
if (!empty($config)) {
|
||||||
|
foreach ($config as $key => $value) {
|
||||||
|
scan_directory($value, $key);
|
||||||
|
}
|
||||||
|
}
|
||||||
scan_directory(MODEL_PATH, 'app\Model');
|
scan_directory(MODEL_PATH, 'app\Model');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user