add application in console
This commit is contained in:
3
console
3
console
@@ -26,6 +26,9 @@ function findCommandClasses($directory)
|
||||
* Enable autoload
|
||||
*/
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user