变更
This commit is contained in:
+4
-4
@@ -117,10 +117,10 @@ class ServerCommand extends Command
|
||||
*/
|
||||
protected function scan_file(): void
|
||||
{
|
||||
$config = Config::get('reload.scanner', []);
|
||||
if (is_array($config)) foreach ($config as $key => $value) {
|
||||
scan_directory($value, $key);
|
||||
}
|
||||
// $config = Config::get('reload.scanner', []);
|
||||
// if (is_array($config)) foreach ($config as $key => $value) {
|
||||
// scan_directory($value, $key);
|
||||
// }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user