Skip to content

Commit

Permalink
Change basePath of config
Browse files Browse the repository at this point in the history
  • Loading branch information
Baspa committed Nov 28, 2024
1 parent d57f6b8 commit 90de54a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/MediaPickerServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ public function configurePackage(Package $package): void
->askToStarRepoOnGitHub('vormkracht10/filament-media-picker');
});

$configFileName = $package->shortName();

if (file_exists($package->basePath("/../config/{$configFileName}.php"))) {
if (file_exists($package->basePath("/../config/media-picker.php"))) {
$package->hasConfigFile();
}

Expand Down

0 comments on commit 90de54a

Please sign in to comment.