Browse code

Fix file-extension naming

Jenga Phoenix authored on 2019-01-27 05:58:19
Showing 1 changed files
... ...
@@ -51,7 +51,7 @@ function write_metadata($filepath, $source)
51 51
 //	Return the file-extension of a filename.
52 52
 function file_extension($file_name)
53 53
 {
54
-	return pathinfo($file_name, PATHINFO_EXTENSION);
54
+	return strtolower(pathinfo($file_name, PATHINFO_EXTENSION));
55 55
 }
56 56
 
57 57