Update storage.php

This commit is contained in:
Namhyeon Go 2018-12-18 14:10:55 +09:00 committed by GitHub
parent 8f30b9dc83
commit 0e85d57883
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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