Skip to content

Commit

Permalink
Fixed nexa bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
v1p3r75 committed Mar 10, 2024
1 parent a7f9316 commit c73207b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
Floky\Console\Commands\MakeService::class,
Floky\Console\Commands\MakeCommand::class,
Floky\Console\Commands\MakeResource::class,

Floky\Console\Commands\MakeMigrations::class,
Floky\Console\Commands\RunMigrations::class,
Floky\Console\Commands\RebuildMigrations::class,

Floky\Console\Commands\UpApplication::class,
Floky\Console\Commands\DownApplication::class,
Expand Down
8 changes: 8 additions & 0 deletions src/Helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,14 @@ function app_config_path(string $path = "")
}
}

if (!function_exists('app_database_path')) {
function app_database_path(string $path = "")
{

return app_root_path("/database/$path");
}
}

if (!function_exists('app_cache_path')) {
function app_cache_path(string $path = "")
{
Expand Down

0 comments on commit c73207b

Please sign in to comment.