add application in console
This commit is contained in:
3
console
3
console
@@ -27,6 +27,9 @@ function findCommandClasses($directory)
|
||||
*/
|
||||
require_once ROOT . DIRECTORY_SEPARATOR . 'vendor'. DIRECTORY_SEPARATOR . 'autoload.php';
|
||||
|
||||
// start application
|
||||
$kapp = new \Kletellier\Framework\Core\Kernel\Application(ROOT);
|
||||
|
||||
$application = new Application();
|
||||
// Load all commands in Commands folder
|
||||
$command_directory = ROOT . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . "Commands";
|
||||
|
||||
Reference in New Issue
Block a user