825 Star 2.8K Fork 1.3K

Discuz / DiscuzX

Merged
!383 附件下载500错误修复

itsvse:master Discuz:master

itsvse Created on: 2020-03-10 21:50

PHP 5.X 环境:

static $CHUNK_SIZE = 64 * 1024; 这样写会500错误,导致附加无法下载。

正确写法

static $CHUNK_SIZE = 64 * 1024; // 每次最大读 64KB

1 comments, 2 participants 1773794 laozhoubuluo 1594507411

Show action logs Hide action logs
oldhuhu merged Pull Request 2020-03-10 21:55
oldhuhu check passed 2020-03-10 21:55
itsvse assigned reviewer 湖中沉 2020-03-10 21:50
itsvse assigned reviewer oldhuhu 2020-03-10 21:50
itsvse assigned reviewer monkeye 2020-03-10 21:50
itsvse assigned reviewer Discuz! 2020-03-10 21:50
itsvse assigned reviewer LooTan 2020-03-10 21:50
itsvse assigned reviewer comsenz-service 2020-03-10 21:50
itsvse assigned reviewer DiscuzX 2020-03-10 21:50
PHP
1
https://gitee.com/Discuz/DiscuzX.git
git@gitee.com:Discuz/DiscuzX.git
Discuz
DiscuzX
DiscuzX

Search

102255 3a0e046c 1850385 102255 7aaa926c 1850385