信呼v2.5.0版本

This commit is contained in:
雨中磐石
2022-09-29 15:34:08 +08:00
parent e6d2c91521
commit 44100a4ab9
37 changed files with 685 additions and 91 deletions

View File

@@ -329,11 +329,12 @@ class fileClassModel extends Model
header('location:'.$filepath.'');
return;
}
ob_clean();flush();readfile($filepath);return;
if($filesize > 5*1024*1024){
if($filesize > 10*1024*1024 && 1==1){
header('location:'.$filepath.'');
}else{
echo file_get_contents($filepath);
//echo file_get_contents($filepath);
ob_clean();flush();readfile($filepath);
}
}
}