mirror of
https://github.com/getgrav/grav.git
synced 2026-07-19 18:31:44 +02:00
support uppercase image extensions
This commit is contained in:
@@ -84,7 +84,7 @@ class Media extends Getters
|
||||
$config = self::$grav['config'];
|
||||
|
||||
// Check if medium type has been configured.
|
||||
$params = $config->get("media.{$ext}");
|
||||
$params = $config->get("media.".strtolower($ext));
|
||||
if (!$params) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user