Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tenmajkl committed Oct 30, 2022
1 parent 755446a commit f2644f8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Lemon/Config/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,8 @@ public function loadPart(string $part, bool $force = false): void

$path =
$this->files[$part]
?? Filesystem::join(__DIR__, '..', strtoupper($part), 'config.php');
?? Filesystem::join(__DIR__, '..', ucfirst($part), 'config.php');

echo $path;
if (!file_exists($path)) {
throw new ConfigException('Part '.$part.' does not exist');
}
Expand Down

0 comments on commit f2644f8

Please sign in to comment.