Update storage.php
This commit is contained in:
parent
629ef90722
commit
c655bb450e
|
@ -263,9 +263,9 @@ if(!check_function_exists("write_storage_file")) {
|
|||
$result = false;
|
||||
|
||||
$filename = get_value_in_array("filename", $options, make_random_id(32));
|
||||
if(!array_key_empty("extension", $options)) {
|
||||
if(!array_key_empty("extension", $options)) {
|
||||
$filename = sprintf("%s.%s", $filename, $options['extension']);
|
||||
}
|
||||
}
|
||||
|
||||
$storage_type = get_value_in_array("storage_type", $options, "data");
|
||||
$mode = get_value_in_array("mode", $options, "w");
|
||||
|
|
Loading…
Reference in New Issue
Block a user