This commit is contained in:
2023-03-30 23:01:51 +08:00
parent ea90aebd62
commit 65cbde3706
+4 -4
View File
@@ -117,10 +117,10 @@ class ServerCommand extends Command
*/ */
protected function scan_file(): void protected function scan_file(): void
{ {
$config = Config::get('reload.scanner', []); // $config = Config::get('reload.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);
} // }
} }
} }