Update storage.php
This commit is contained in:
parent
8f30b9dc83
commit
0e85d57883
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user