From 0a16e2ea9881359836b515e4efa9565f97668c2a Mon Sep 17 00:00:00 2001 From: Gregory Letellier Date: Fri, 17 Nov 2023 10:05:53 +0100 Subject: [PATCH] add application in console --- console | 3 +++ 1 file changed, 3 insertions(+) diff --git a/console b/console index 8b79460..22bd069 100644 --- a/console +++ b/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