Replace the Application loader to facilitate moving the public/ dir to the root
This commit is contained in:
22
app/Console/Commands/Test.php
Normal file
22
app/Console/Commands/Test.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Console\Commands;
|
||||
|
||||
use Illuminate\Console\Command;
|
||||
|
||||
|
||||
class Test extends Command
|
||||
{
|
||||
protected $signature = 'phpvms:test';
|
||||
protected $description = '';
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function handle()
|
||||
{
|
||||
print resource_path();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user