多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# fileHeader.php 文件类型映射,可以自行添加 ```php $config['fileHeader']['normal'] = ['Content-Type: application/octet-stream', 'Content-Transfer-Encoding: binary']; $config['fileHeader']['jpg'] = ['Content-Type: image/jpeg']; $config['fileHeader']['jpeg'] = ['Content-Type: image/jpeg']; $config['fileHeader']['png'] = ['Content-Type: image/jpeg']; $config['fileHeader']['svg'] = ['Content-Type: image/svg+xml']; $config['fileHeader']['txt'] = ['Content-type: text/plain']; $config['fileHeader']['css'] = ['Content-type: text/css']; $config['fileHeader']['js'] = ['Content-type: application/javascript']; $config['fileHeader']['json'] = ['Content-type: application/json']; $config['fileHeader']['pdf'] = ['Content-type: application/pdf']; $config['fileHeader']['html'] = ['Content-Type: text/html; charset=utf-8']; $config['fileHeader']['zip'] = ['Content-Type: application/zip']; $config['fileHeader']['mp3'] = ['Content-Type: audio/mpeg']; $config['fileHeader']['mp4'] = ['Content-Type: audio/mpeg']; $config['fileHeader']['swf'] = ['Content-Type: application/x-shockwave-flash']; return $config; ```