This commit is contained in:
Namhyeon Go 2018-12-18 12:25:30 +09:00
parent 98516736ef
commit 24bf827f01

View File

@ -316,8 +316,8 @@ if(!function_exists("get_file_extension")) {
}
if(!function_exists("check_file_extension")) {
function check_file_extension($file, $extension) {
return (get_file_extension($file) === $extension);
function check_file_extension($file, $extension, $options) {
return (get_file_extension($file, $options) === $extension);
}
}