Fix file-extension naming

This commit is contained in:
Jenga Phoenix 2019-01-26 23:58:19 -06:00
parent bdf52d0191
commit f37c5c0615

View File

@ -51,7 +51,7 @@ function write_metadata($filepath, $source)
// Return the file-extension of a filename. // Return the file-extension of a filename.
function file_extension($file_name) function file_extension($file_name)
{ {
return pathinfo($file_name, PATHINFO_EXTENSION); return strtolower(pathinfo($file_name, PATHINFO_EXTENSION));
} }