Fix file-extension naming
This commit is contained in:
parent
bdf52d0191
commit
f37c5c0615
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Ŝarĝante…
Reference in New Issue