Skip to content

Commit

Permalink
Add 'lower' case check for thumb driver detection
Browse files Browse the repository at this point in the history
This might be an edge case, but people might add it as `Colorist` or something ..
  • Loading branch information
S1SYPHOS committed Oct 10, 2020
1 parent db72518 commit c0db03f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


# (2) Add `colorist` as thumb driver if enabled
if (option('thumbs.driver') === 'colorist') {
if (Str::lower(option('thumbs.driver')) === 'colorist') {
Darkroom::$types['colorist'] = 'Fundevogel\Colorist';
}

Expand Down

0 comments on commit c0db03f

Please sign in to comment.