From 2c9fdadf8e390d63b2642a5fc1833231c081f8c2 Mon Sep 17 00:00:00 2001 From: Juan Cristobal <65052633+juancristobalgd1@users.noreply.github.com> Date: Fri, 29 Mar 2024 10:55:53 +0100 Subject: [PATCH] update file --- app/providers/providers.php | 5 ++--- axm | 2 +- public/index.php | 10 +++++----- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/app/providers/providers.php b/app/providers/providers.php index 7ef7a56..b9ecd59 100644 --- a/app/providers/providers.php +++ b/app/providers/providers.php @@ -10,7 +10,6 @@ * be loaded at the start of the system, these will only be stored * in the application container and will be consumed on demand. **/ - // 'app' => App::class, 'config' => Config::class, 'session' => Session\Session::class, 'request' => Http\Request::class, @@ -22,7 +21,7 @@ 'validator' => Validation\Validator::class, 'auth' => Auth\Auth::class, 'console' => Console\ConsoleApplication::class, + + //more suppliers here... 'raxm' => Raxm\Raxm::class, - // 'event' => EventManager::class, - // 'cache' => Cache\Cache::class, ]; diff --git a/axm b/axm index f9339b3..32cfc53 100644 --- a/axm +++ b/axm @@ -16,7 +16,7 @@ require_once 'vendor' . DIRECTORY_SEPARATOR . 'axm' . DIRECTORY_SEPARATOR . 'framework' . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR . 'bootstrap.php'; //The console application instance. -$console = app()->createConsoleApplication(); +$console = Axm::makeConsoleApplication(); // Execute console command $console->run(); diff --git a/public/index.php b/public/index.php index da2da9f..398fada 100644 --- a/public/index.php +++ b/public/index.php @@ -18,12 +18,12 @@ 'bootstrap.php'; // Initialize the application -$app = app(); +$app = Axm::makeApplication(); -/* - *--------------------------------------------------------------- - * LAUNCH THE APPLICATION - * --------------------------------------------------------------- +/** + --------------------------------------------------------------- + LAUNCH THE APPLICATION + --------------------------------------------------------------- * Now that everything is set up, it's time to start the * application. */