Update storage.php

This commit is contained in:
Namhyeon Go 2019-11-15 11:15:14 +09:00 committed by GitHub
parent 9c8afadab5
commit be72e12590
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,6 +170,7 @@ if(!check_function_exists("read_storage_file")) {
if($is_valid) {
if($fp = fopen($upload_filename, "r")) {
if(array_key_equals("safemode", $options, true)) {
$result = "";
while(!feof($fp)) {
$blocksize = get_value_in_array("blocksize", $options, 8192);
$result .= fread($fp, $blocksize);