Skip to content

Commit

Permalink
update file
Browse files Browse the repository at this point in the history
  • Loading branch information
juancristobalgd1 authored Mar 29, 2024
1 parent a9f39e4 commit 2c9fdad
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
5 changes: 2 additions & 3 deletions app/providers/providers.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
];
2 changes: 1 addition & 1 deletion axm
Original file line number Diff line number Diff line change
Expand Up @@ -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();
10 changes: 5 additions & 5 deletions public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit 2c9fdad

Please sign in to comment.