Update storage.php

This commit is contained in:
Namhyeon Go 2018-09-03 01:00:05 +09:00 committed by GitHub
parent 525730878a
commit 18aa851e5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -158,6 +158,9 @@ if(!function_exists("write_storage_file")) {
$result = $upload_filename;
} else {
$result = write_storage_file($data, $options);
if(array_key_equals("basename", $options, true)) {
$result = basename($result);
}
}
} else {
if($mode == "fake") {