remove src folder
This commit is contained in:
4
console
4
console
@@ -25,11 +25,11 @@ function findCommandClasses($directory)
|
||||
/**
|
||||
* Enable autoload
|
||||
*/
|
||||
require_once ROOT . DS . 'vendor'. DS . 'autoload.php';
|
||||
require_once ROOT . DIRECTORY_SEPARATOR . 'vendor'. DIRECTORY_SEPARATOR . 'autoload.php';
|
||||
|
||||
$application = new Application();
|
||||
// Load all commands in Commands folder
|
||||
$command_directory = ROOT . DS . 'src' . DS . "Commands";
|
||||
$command_directory = ROOT . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . "Commands";
|
||||
$commandClasses = findCommandClasses($command_directory);
|
||||
foreach ($commandClasses as $commandClass) {
|
||||
$clsname = "App\\Commands\\$commandClass";
|
||||
|
||||
Reference in New Issue
Block a user