mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
auto loads commands
This commit is contained in:
parent
c4e142867c
commit
5d54c21ea8
@ -35,6 +35,8 @@ class Kernel extends ConsoleKernel
|
||||
*/
|
||||
protected function commands()
|
||||
{
|
||||
$this->load(__DIR__.'/Commands');
|
||||
|
||||
require base_path('routes/console.php');
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user