Skip to content

Commit

Permalink
Update LoadConfiguration.php (#50537)
Browse files Browse the repository at this point in the history
  • Loading branch information
buismaarten authored Mar 14, 2024
1 parent 8842365 commit e3ec10f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ protected function getConfigurationFiles(Application $app)

$configPath = realpath($app->configPath());

if (! $configPath) {
return [];
}

foreach (Finder::create()->files()->name('*.php')->in($configPath) as $file) {
$directory = $this->getNestedDirectory($file, $configPath);

Expand Down

0 comments on commit e3ec10f

Please sign in to comment.